### Question:
ElementData { public boolean found() { return myVisualizationState != null || myTimeSpan != null || myMetaDataProvider != null || myMapGeometrySupport != null; } ElementData();  ElementData(Long id, TimeSpan ts, VisualizationState vs, MetaDataProvider mdp, MapGeometrySupport mgs); boolean found(); Long getID(); MapGeometrySupport getMapGeometrySupport(); MetaDataProvider getMetaDataProvider(); TimeSpan getTimeSpan(); VisualizationState getVisualizationState(); final void updateValues(Long id, TimeSpan ts, VisualizationState vs, MetaDataProvider mdp, MapGeometrySupport mgs);  }### Answer:
@Test public void testFound() { assertTrue(myTestObject.found()); myTestObject = new ElementData(myTestID, myTimeSpan, null, myMetaDataProvider, myMapGeometrySupport); assertTrue(myTestObject.found()); myTestObject = new ElementData(myTestID, null, myVisualizationState, myMetaDataProvider, myMapGeometrySupport); assertTrue(myTestObject.found()); myTestObject = new ElementData(myTestID, myTimeSpan, myVisualizationState, null, myMapGeometrySupport); assertTrue(myTestObject.found()); myTestObject = new ElementData(myTestID, myTimeSpan, myVisualizationState, myMetaDataProvider, null); assertTrue(myTestObject.found()); myTestObject = new ElementData(myTestID, null, null, null, null); assertFalse(myTestObject.found()); }