@Test
public void testEntry() {

    Dog dog = new Dog( "dog" );
    Entry<String, Dog> entry = entry( "dog", dog );
    assertEquals( "dog", entry.key() );
    assertEquals( dog, entry.value() );
    assertTrue( entry.equals( entry ) );
    assertTrue( entry.equals( ( Object ) entry ) );
    Entry<String, Dog> entry4 = entry( "dog4", new Dog( "dog4" ) );
    assertFalse( entry.equals( ( Object ) entry4 ) );
    assertTrue( entry.hashCode()
            == ( new Pair( entry ).hashCode() ) );
    assertEquals( "{\"k\":dog, \"v\":Dog{\"name\":\"dog\"}}",
            entry.toString() );
    new Pair();
}