From 6f0ab0b4cb6a52ea5398a10ce6b3a0143735e4ee Mon Sep 17 00:00:00 2001 From: Savorboard Date: Sun, 23 Jul 2017 00:36:59 +0800 Subject: [PATCH] update unit tests. --- test/DotNetCore.CAP.Test/CAP.BuilderTest.cs | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs b/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs index 2b18691..0bd3c8f 100644 --- a/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs +++ b/test/DotNetCore.CAP.Test/CAP.BuilderTest.cs @@ -61,6 +61,26 @@ namespace DotNetCore.CAP.Test private class MyProducerService : ICapPublisher { + public void Publish(string name, string content) + { + throw new NotImplementedException(); + } + + public void Publish(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(string name, T contentObj, IDbConnection dbConnection, IDbTransaction dbTransaction = null) + { + throw new NotImplementedException(); + } + public Task PublishAsync(string topic, string content) { throw new NotImplementedException(); @@ -80,6 +100,11 @@ namespace DotNetCore.CAP.Test { throw new NotImplementedException(); } + + public Task PublishAsync(string name, T contentObj, IDbConnection dbConnection, IDbTransaction dbTransaction = null) + { + throw new NotImplementedException(); + } } } } \ No newline at end of file