public void TestGetService() { FilterService serviceOne = FilterServiceProvider.NewService(ConfigurationEngineDefaults.FilterServiceProfile.READMOSTLY, false); FilterService serviceTwo = FilterServiceProvider.NewService(ConfigurationEngineDefaults.FilterServiceProfile.READMOSTLY, false); Assert.IsTrue(serviceOne != null); Assert.IsTrue(serviceOne != serviceTwo); }
public void TestGetService() { var container = SupportContainer.Instance; FilterService serviceOne = FilterServiceProvider.NewService( container, ConfigurationEngineDefaults.FilterServiceProfile.READMOSTLY, false); FilterService serviceTwo = FilterServiceProvider.NewService( container, ConfigurationEngineDefaults.FilterServiceProfile.READMOSTLY, false); Assert.IsTrue(serviceOne != null); Assert.IsTrue(serviceOne != serviceTwo); }