Assert.assertThat(o2.getList().get(1).get(1).getId(), is(1001));
}
@Test
public void test6() {
MediaContent record = MediaContent.createRecord();
String json = Json.toJson(record);
MediaContent r = Json.toObject(json, MediaContent.class);
Assert.assertThat(r.getMedia().getPlayer(), is(Player.JAVA));
Assert.assertThat(r.getImages().size(), is(2));
Assert.assertThat(r.getImages().get(0).getSize(), is(Size.LARGE));
Assert.assertThat(r.getImages().get(0).getHeight(), is(768));
}