@Test public void testExportException() { Exception exception = new Exception("test"); GroupProxy group = mock(GroupProxy.class); Class testClass = Object.class; when(group.getProxiedGroup()).thenReturn(testClass); String message = "test message"; ConstructionProblem.ExportException instance = new ConstructionProblem. ExportException(exception, group, message); assertEquals(instance.getException().getMessage(), "test"); assertNotNull(instance.getProblemDescription()); assertEquals(instance.getBadPropertyCoord().getGroup(), testClass); }
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();  }