Project { @Override public String toString() { return getClass().getSimpleName() + "[" + location + "]"; }  Path getPath(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }
@Test public void testToString() { final String location = randomUUID().toString(); final Project project = new Project(location, new ProjectFile()); assertNotNull(project.toString()); assertTrue(0 < project.toString().length()); }