Browse Source

update unit tests.

master
Savorboard 7 years ago
parent
commit
6f0ab0b4cb
1 changed files with 25 additions and 0 deletions
  1. +25
    -0
      test/DotNetCore.CAP.Test/CAP.BuilderTest.cs

+ 25
- 0
test/DotNetCore.CAP.Test/CAP.BuilderTest.cs View File

@@ -61,6 +61,26 @@ namespace DotNetCore.CAP.Test


private class MyProducerService : ICapPublisher private class MyProducerService : ICapPublisher
{ {
public void Publish(string name, string content)
{
throw new NotImplementedException();
}

public void Publish<T>(string name, T contentObj)
{
throw new NotImplementedException();
}

public void Publish(string name, string content, IDbConnection dbConnection, IDbTransaction dbTransaction = null)
{
throw new NotImplementedException();
}

public void Publish<T>(string name, T contentObj, IDbConnection dbConnection, IDbTransaction dbTransaction = null)
{
throw new NotImplementedException();
}

public Task PublishAsync(string topic, string content) public Task PublishAsync(string topic, string content)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
@@ -80,6 +100,11 @@ namespace DotNetCore.CAP.Test
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

public Task PublishAsync<T>(string name, T contentObj, IDbConnection dbConnection, IDbTransaction dbTransaction = null)
{
throw new NotImplementedException();
}
} }
} }
} }

Loading…
Cancel
Save