public void CreateSingletonObject()
 {
     ObjectContainer locator = new ObjectContainer();
     locator.DeclareSingleton(typeof(object));
     var result = locator.Create<object>();
     Assert.IsAssignableFrom<object>(result);
     var result2 = locator.Create<object>();
     Assert.AreSame(result, result2);
 }