@Test
public void shouldSerializeGenericClass() {

	String expectedResult = "{\"genericWrapper\": {\"entityList\": [{\"name\": \"washington botelho\"},{\"name\": \"washington botelho\"}],\"total\": 2}}";
	Collection<Client> entityList = new ArrayList<Client>();
	entityList.add(new Client("washington botelho"));
	entityList.add(new Client("washington botelho"));
	GenericWrapper<Client> wrapper = new GenericWrapper<Client>(entityList, entityList.size());
serialization.from(wrapper).include("entityList").serialize();
assertThat(result(), is(equalTo(expectedResult)));
}