public void TestClearServices_Empty_Harmless()
        {
            var target = new DefaultServiceTypeLocator();

            target.ClearServices();

            Assert.That(target.EnumerateServices().Count(), Is.EqualTo(0));
        }
        public void TestClearServices_NonEmpty_Cleared()
        {
            var target = new DefaultServiceTypeLocator();

            target.AddService(typeof(Service));
            target.AddService(typeof(Service2));

            target.ClearServices();

            Assert.That(target.EnumerateServices().Count(), Is.EqualTo(0));
        }
		public void TestClearServices_Empty_Harmless()
		{
			var target = new DefaultServiceTypeLocator();

			target.ClearServices();

			Assert.That( target.EnumerateServices().Count(), Is.EqualTo( 0 ) );
		}
		public void TestClearServices_NonEmpty_Cleared()
		{
			var target = new DefaultServiceTypeLocator();

			target.AddService( typeof( Service ) );
			target.AddService( typeof( Service2 ) );

			target.ClearServices();

			Assert.That( target.EnumerateServices().Count(), Is.EqualTo( 0 ) );
		}