Ejemplo n.º 1
0
        public ReadRepositoryTest()
        {
            var configBuilder = new ConfigBuilder();

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

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

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

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

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

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