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