public void Should_throw_excepotion_if_schema_fields_to_reorder_not_valid() { Assert.Throws <ValidationException>(() => SchemaGuard.GuardCanReorder(schema, new List <long> { 1 })); Assert.Throws <ValidationException>(() => SchemaGuard.GuardCanReorder(schema, new List <long> { 1, 3 })); }
public void Should_not_throw_excepotion_if_schema_fields_to_reorder_are_valid() { SchemaGuard.GuardCanReorder(schema, new List <long> { 1, 2 }); }