KeyPair implements Serializable { public void setKey(String key) { this.key = key; } KeyPair();  KeyPair(String key, String value); String getKey(); void setKey(String key); String getValue(); void setValue(String value); @Override String toString();  }
@Test public void testSetKey_1() throws Exception { KeyPair fixture = new KeyPair("", ""); String key = ""; fixture.setKey(key); }