16 using System.Collections.Generic;
 
   21 using NUnit.Framework;
 
   30             Assert.DoesNotThrow(() => system = builder.BuildSystem());
 
   31             Assert.IsNotNull(system);
 
   32             Assert.IsFalse(system.
Context.ReadOnly());
 
   33             Assert.IsTrue(system.
Context.IgnoreIdentifiersCase());
 
   34             Assert.AreEqual(
"APP", system.
Context.DefaultSchema());
 
   41             Assert.DoesNotThrow(() => system = builder.BuildSystem());
 
   42             Assert.IsNotNull(system);
 
   46             object serviceObj = null;
 
   47             Assert.DoesNotThrow(() => serviceObj = system.
Context.ResolveService(typeof(
TestService)));
 
   48             Assert.IsNotNull(serviceObj);
 
   52             Assert.DoesNotThrow(() => service.SayHello());
 
   59             Assert.DoesNotThrow(() => system = builder.BuildSystem());
 
   60             Assert.IsNotNull(system);
 
   66             IEnumerable<ITestService> services = null;
 
   68             Assert.IsNotNull(services);
 
   70             var serviceList = services.ToList();
 
   72             Assert.IsNotEmpty(serviceList);
 
   73             Assert.AreEqual(2, serviceList.Count);
 
   82             Assert.DoesNotThrow(() => system = builder.BuildSystem());
 
   83             Assert.IsNotNull(system);
 
   89             IEnumerable<ITestService> services = null;
 
   91             Assert.IsNotNull(services);
 
   93             var serviceList = services.ToList();
 
   95             Assert.IsNotEmpty(serviceList);
 
   96             Assert.AreEqual(2, serviceList.Count);
 
  105                 Console.Out.WriteLine(
"Hello World.");
 
new ISystemContext Context
void ResolveInstanceOfServiceByInterface()
void ResolveManyServicesForInterface()
void ResolveSingleServiceFromRegister()