### Question:
Pair { public String getKey() { return key; } Pair(final String key, final String value); String getKey(); String getValue(); @Override String toString();  }### Answer:
@Test public void testGetKey() { assertEquals("key", pair.getKey()); }