@Test
public void testToEntry() {

    final Map.Entry<String, String> entry = toEntry("foo", "bar");
    assertEquals("key should be foo", "foo", entry.getKey());
    assertEquals("value should be bar", "bar", entry.getValue());
}