public ReadRepositoryTest()
        {
            var configBuilder = new ConfigBuilder();

            _sandbox = new Sandbox(new SandboxCassandraOptions(false), configBuilder.BuildModule(), new Module());

            _sut = _sandbox.Resolve <ReadRepositoryFactory>().Build("read");
        }
        public WriteRepositoryTest()
        {
            var configBuilder = new ConfigBuilder();

            _sandbox = new Sandbox(new SandboxCassandraOptions(true, true), configBuilder.BuildModule(), new Module());

            _sut = _sandbox.Resolve <IWriteRepository>();
        }
Example #3
0
        public TimeTrackServiceTest()
        {
            var configBuilder = new ConfigBuilder();

            _sandbox = new Sandbox(new SandboxCassandraOptions(true, true), configBuilder.BuildModule(), new Module());
        }
Example #4
0
        public TimeTrackProjectionTest()
        {
            var configBuilder = new ConfigBuilder();

            _sandbox = new Sandbox(new SandboxCassandraOptions(false), configBuilder.BuildModule(), new Module());
        }