@Test
public void toStringExclusiveKeywordClash() {

    NumberSchema subject = NumberSchema.builder()
            .requiresNumber(true)
            .minimum(0).maximum(10)
            .multipleOf(5)
            .exclusiveMinimum(true)
            .exclusiveMaximum(true)
            .exclusiveMinimum(5)
            .exclusiveMaximum(10)
            .build();
    try {
        subject.toString();
        fail();
    } catch (IllegalStateException e) {
        assertEquals("overloaded use of exclusiveMinimum or exclusiveMaximum keyword", e.getMessage());
    }
}