Header { public String getKey() { return key; } Header(@Nonnull String key, @Nonnull String value); protected  Header(); String getKey(); void setKey(String key); @XmlTransient String getValue(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testGetKey_1() throws Exception { Header fixture = new Header("", ""); String result = fixture.getKey(); assertEquals("", result); }