@Test public void testBundle() { Assert.assertTrue(ConstraintsConverter.newBundle().getSupportedJavaConstraints().contains(Ready.class)); Assert.assertTrue(ConstraintsConverter.newBundle().getSupportedJSONConstraints().contains(new ReadyConverter().getJSONId())); }
@Override public String getJSONId() { return "ready"; }
ReadyConverter implements ConstraintConverter<Ready> { @Override public String getJSONId() { return "ready"; } }
ReadyConverter implements ConstraintConverter<Ready> { @Override public String getJSONId() { return "ready"; }  }
ReadyConverter implements ConstraintConverter<Ready> { @Override public String getJSONId() { return "ready"; }  @Override Class<Ready> getSupportedConstraint(); @Override String getJSONId(); @Override Ready fromJSON(Model mo, JSONObject o); @Override JSONObject toJSON(Ready o); }
ReadyConverter implements ConstraintConverter<Ready> { @Override public String getJSONId() { return "ready"; }  @Override Class<Ready> getSupportedConstraint(); @Override String getJSONId(); @Override Ready fromJSON(Model mo, JSONObject o); @Override JSONObject toJSON(Ready o);  }