Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }