public void Should_Have_Validation_Error_For_Empty_Id() { var sut = new TenantContextValidator(); sut.ShouldHaveValidationErrorFor(x => x.TenantId, new TenantContext(0, "TST", false)); }
public void Should_Have_Validation_Error_For_Null_Or_Empty_Code(string code) { var sut = new TenantContextValidator(); sut.ShouldHaveValidationErrorFor(x => x.TenantCode, new TenantContext(1, code, false)); }