public void TryResolveOfUnknownTypeWithDefaultByName()
 {
   TestClass src = new TestClass();
   src.Data = "hello world";
   ITest obj = _container.TryResolve<ITest>("name", src);
   Assert.IsNotNull(obj);
   Assert.AreSame(src, obj);
 }
 public void TryResolveOfUnknownTypeWithDefault()
 {
   TestClass src = new TestClass();
   src.Data = "hello world";
   ITest obj = _container.Configure<TypeTrackingExtension>().TryResolve<ITest>(src);
   Assert.IsNotNull(obj);
   Assert.AreSame(src, obj);
 }