@Test
public void shouldExcludeNonPrimitiveFieldsFromACollection() {

	Order order = new Order(new Client("guilherme silveira"), 15.0, "pack it nicely, please",
			new Item("name", 12.99));
	serialization.from(Arrays.asList(order, order), "orders").exclude("price").serialize();
	assertThat(result(), not(containsString("\"items\"")));
	assertThat(result(), not(containsString("name")));
	assertThat(result(), not(containsString("\"price\"")));
	assertThat(result(), not(containsString("12.99")));
	assertThat(result(), not(containsString("15.0")));
}