@Test
public void testGetKeyByIdWhenExists() {

    final Key existingKey = keyService.getKey("1");
    assertNotNull(existingKey);
    assertEquals("1", existingKey.getId());
    assertEquals("unit_test_tenant_identity", existingKey.getIdentity());
    assertEquals("0123456789abcdef", existingKey.getKey());
}