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