@Test
public void testJsonEncode()
{

    assertJsonEncode(createPerson("alice@example.com", "Alice"),
            ImmutableMap.of(
                    "name", "Alice",
                    "email", "alice@example.com"
            ));
}