@Test public void testInvalidValidationConfiguration() { GroupProxy group = mock(GroupProxy.class); Class testClass = Object.class; when(group.getProxiedGroup()).thenReturn(testClass); Property property = mock(Property.class); Validator valid = mock(Validator.class); ConstructionProblem.InvalidValidationConfiguration instance = new ConstructionProblem. InvalidValidationConfiguration(group, property, valid); assertEquals(instance.getValidator(), valid); assertNotNull(instance.getProblemDescription()); assertEquals(instance.getBadPropertyCoord().getGroup(), testClass); assertEquals(instance.getBadPropertyCoord().getProperty(), property); }
public PropertyCoord getBadPropertyCoord() { return badPropertyCoord; }
ConstructionProblem implements Problem { public PropertyCoord getBadPropertyCoord() { return badPropertyCoord; } }
ConstructionProblem implements Problem { public PropertyCoord getBadPropertyCoord() { return badPropertyCoord; }  }
ConstructionProblem implements Problem { public PropertyCoord getBadPropertyCoord() { return badPropertyCoord; }  PropertyCoord getRefPropertyCoord(); PropertyCoord getBadPropertyCoord(); @Override String getProblemContext(); @Override String getFullMessage(); }
ConstructionProblem implements Problem { public PropertyCoord getBadPropertyCoord() { return badPropertyCoord; }  PropertyCoord getRefPropertyCoord(); PropertyCoord getBadPropertyCoord(); @Override String getProblemContext(); @Override String getFullMessage();  }