public void Init() { InitCache(); _confMan = ConfigurationManager.Instance; Isolate.WhenCalled(() => _confMan.AddInMemorySqLiteEnvironment<TestMapping>("Test")).CallOriginal(); RepositoryFixture.CreateInMemorySqLiteRepository<TestMapping>("Test"); }
public void Init() { InitCache(); _confMan = ConfigurationManager.Instance; Isolate.WhenCalled(() => _confMan.AddInMemorySqLiteEnvironment <TestMapping>("Test")).CallOriginal(); RepositoryFixture.CreateInMemorySqLiteRepository <TestMapping>("Test"); }
public void UseTheConfigurationManagerToCreateAnInMemorySqlEnvironment() { Isolate.Verify.WasCalledWithAnyArguments(() => _confMan.AddInMemorySqLiteEnvironment <TestMapping>("Test")); }