@Test
public void testUserTransform()
{

    User user = new User();
    UserCredentials userCredentials = new UserCredentials();
    userCredentials.setUuid( uuid );
    userCredentials.setUser( user );
    userCredentials.setUsername( "test" );
    userCredentials.setUserInfo( user );
    user.setUserCredentials( userCredentials );
    user.setUser( user );
    UserPropertyTransformer transformer = new UserPropertyTransformer();
    UserPropertyTransformer.UserDto userDto = (UserPropertyTransformer.UserDto) transformer.transform( user );
    // assertEquals( uuid.toString(), userDto.getId() );
    assertEquals( user.getUid(), userDto.getId() );
    assertEquals( "test", userDto.getUsername() );
}