Ejemplo n.º 1
0
 private void CheckSchemaUpdateProperties(ExpectedSchemaUpdateRequestProperties properties)
 {
     AssertRequestValuesMatch(_rest.Request, properties);
     AssertSchemaValuesMatch(GetTableSchemaFromRequest(), properties);
 }
Ejemplo n.º 2
0
 private static void AssertSchemaValuesMatch(TableSchema requestedSchema, ExpectedSchemaUpdateRequestProperties properties)
 {
     requestedSchema.Name.Should().Be(properties.Table);
     requestedSchema.Columns.Should().HaveCount(1);
     requestedSchema.Columns[0].Name.Should().Be(properties.Column);
 }