public void TestGet() { var dispatcher = new PersistenceDispatcher(); var persistenceManager = dispatcher.Get<IPersistenceManagerStub>(); Assert.IsNotNull(persistenceManager); Assert.IsInstanceOf<PersistenceManagerStub>(persistenceManager); Assert.AreSame(persistenceManager, AppContext.Persistence.Get<IPersistenceManagerStub>()); }