public void TestMethod01() { var simpleService = _container.GetExportedValue <ISimpeMockService>(); Assert.IsNotNull(simpleService); Assert.AreEqual("hello", simpleService.Say("hello")); }
public static TService GetService <TService>() { return(_container.GetExportedValue <TService>()); }