@Test
public void register() {

    String key = TestUser.KEY;
    Class<TestUser> clazz = TestUser.class;
    registry.register(key, clazz);
    Class<? extends Persistable> getType = registry.get(key);
    assertEquals(clazz, getType);
}