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