Пример #1
0
 public async Task InitializeTest()
 {
     var plugin = new UnitTestPlugin();
     try
     {
         await plugin.Initialize(new StubIFeedback<LogEntry>(), new StubIEntityContextConnection(), new StubIAdapterManager());
     }
     catch (Exception ex)
     {
         Assert.Fail("Expected no exception, but got: " + ex.Message);
     }
 }
Пример #2
0
        public async Task InitializeTest()
        {
            var plugin = new UnitTestPlugin();

            try
            {
                await plugin.Initialize(new StubIFeedback <LogEntry>(), new UnitTestDbConnection(), new StubIAdapterManager());
            }
            catch (Exception ex)
            {
                Assert.Fail("Expected no exception, but got: " + ex.Message);
            }
        }