applicationData.setId("1");
applicationData.setAppUrl("url");
applicationData.setData(new HashMap<String, Object>());
applicationData.setUserId("userid");
JpaApplicationData converted = applicationDataConverter.convert(applicationData);
assertThat(converted, is(not(sameInstance(applicationData))));
assertThat(converted, is(instanceOf(JpaApplicationData.class)));
assertThat(converted.getId(), is(equalTo(applicationData.getId())));
assertThat(converted.getEntityId().toString(), is(equalTo(applicationData.getId())));
assertThat(converted.getAppUrl(), is(equalTo(applicationData.getAppUrl())));
assertThat(converted.getData(), is(equalTo(applicationData.getData())));
assertThat(converted.getUserId(), is(equalTo(applicationData.getUserId())));
}