FalseSchema extends Schema { public static Builder builder() { return new Builder(); } FalseSchema(Builder builder); static Builder builder(); @Override String toString(); static final FalseSchema INSTANCE; }
@Test public void alwaysFails() { TestSupport.failureOf(FalseSchema.builder()) .input("whatever") .expectedKeyword("false") .expect(); }