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