PlacementConstraintManagerService extends AbstractService implements PlacementConstraintManager { @Override public boolean validateConstraint(Set<String> sourceTags, PlacementConstraint placementConstraint) { if (!validateSourceTags(sourceTags)) { return false; } return true; } PlacementConstraintManagerService(); @Override boolean validateConstraint(Set<String> sourceTags,
      PlacementConstraint placementConstraint);  }
@Test public void testValidateConstraint() { Assert.assertTrue(pcm.validateConstraint(sourceTag1, c1)); Assert.assertFalse(pcm.validateConstraint(sourceTag4, c1)); }