Пример #1
0
        public void CompareKeyCanBeSet()
        {
            //Act
            _definer.CompareKey("Key1");

            //Assert
            _collection.GetTableDefinition(TestTableName)
            .CompareKeys
            .Single()
            .Should().Be("Key1");
        }
        public void SetUp()
        {
            var tableDef     = new TableDefinition("Test");
            var tableBuilder = new TableDefiner(tableDef);

            tableBuilder.CompareKey("Key");
            _table = new SnapshotTable(tableDef);
        }