@Test
public void newKeyFromAlreadyExistingKeyReturnsExistingKey() {

    final JsonKey oldJsonKey = JsonFactory.newKey("key");
    final JsonKey newJsonKey = JsonFactory.newKey(oldJsonKey);
    assertThat((Object) newJsonKey).isSameAs(oldJsonKey);
}