public void Should_not_throw_exception_if_field_to_add_not_exists() { SchemaFieldGuard.GuardCanAdd(schema, "field3"); }
public void Should_throw_exception_if_field_to_add_already_exists() { Assert.Throws <ValidationException>(() => SchemaFieldGuard.GuardCanAdd(schema, "field1")); }