Example #1
0
 public void Should_resolve_using_new_factory()
 {
     PlatformAdapter.Register <IProxyGeneratorFactory, MyProxyFactory>();
     PlatformAdapter.Resolve <IProxyGeneratorFactory>().ShouldBeType <MyProxyFactory>();
     PlatformAdapter.Register <IProxyGeneratorFactory, ProxyGeneratorFactoryOverride>();
 }