ValidationWarning { public String toString() { return resourceKey; } ValidationWarning(String resourceKey); String getResourceKey(); String toString();  }
@Test public void testToString() { ValidationWarning vw = new ValidationWarning("foobarbaz"); assertEquals("foobarbaz", vw.toString()); }