static void checkValue(Value value) { assertNotNull(value.getLabel(), "Label cannot be null " + value); assertNotNull(value.getWeight(), "Weight cannot be null " + value); assertTrue(value.getRData().size() > 0, "RData entries should be present: " + value); }
static void checkValue(Value value) { assertNotNull(value.getLabel(), "Label cannot be null " + value); assertNotNull(value.getWeight(), "Weight cannot be null " + value); assertTrue(!value.getRData().isEmpty(), "RData entries should be present: " + value); }