}
@Test
public void convertValid() {
ActivityStreamsObject template = new ActivityStreamsObjectImpl();
template.setContent("TEST_A");
template.setDisplayName("TEST_B");
template.setDc("TEST_C");
template.setLd("TEST_D");
template.setDc("TEST_E");
template.setMood("TEST_F");
template.setLocation("TEST_G");
template.setRating("TEST_H");
template.setSource("TEST_I");
template.setLinks("TEST_J");
JpaActivityStreamsObject jpaTemplate = converter.convert(template);
assertThat(jpaTemplate, is(not(sameInstance(template))));
assertThat(jpaTemplate, is(instanceOf(JpaActivityStreamsObject.class)));
assertThat(jpaTemplate.getContent(), is(equalTo(template.getContent())));
assertThat(jpaTemplate.getDisplayName(), is(equalTo(template.getDisplayName())));
assertThat(jpaTemplate.getContent(), is(equalTo(template.getContent())));
assertThat(jpaTemplate.getDc(), is(equalTo(template.getDc())));
assertThat(jpaTemplate.getMood(), is(equalTo(template.getMood())));
assertThat(jpaTemplate.getLocation(), is(equalTo(template.getLocation())));
assertThat(jpaTemplate.getRating(), is(equalTo(template.getRating())));
assertThat(jpaTemplate.getSource(), is(equalTo(template.getSource())));
assertThat(jpaTemplate.getLinks(), is(equalTo(template.getLinks())));
}