public void Init()
        {
            InitCache();

            _confMan = ConfigurationManager.Instance;
            Isolate.WhenCalled(() => _confMan.AddInMemorySqLiteEnvironment<TestMapping>("Test")).CallOriginal();
            RepositoryFixture.CreateInMemorySqLiteRepository<TestMapping>("Test");
        }
Exemplo n.º 2
0
        public void Init()
        {
            InitCache();

            _confMan = ConfigurationManager.Instance;
            Isolate.WhenCalled(() => _confMan.AddInMemorySqLiteEnvironment <TestMapping>("Test")).CallOriginal();
            RepositoryFixture.CreateInMemorySqLiteRepository <TestMapping>("Test");
        }
Exemplo n.º 3
0
 public void UseTheConfigurationManagerToCreateAnInMemorySqlEnvironment()
 {
     Isolate.Verify.WasCalledWithAnyArguments(() => _confMan.AddInMemorySqLiteEnvironment <TestMapping>("Test"));
 }