@Test
public void shouldExcludeNonPrimitiveParentFields() {

	// String expectedResult =
	// "<advancedOrder><notes>complex package</notes><price>15.0</price><comments>pack it nicely, please</comments></advancedOrder>";
	WithAdvanced advanced = new WithAdvanced();
	advanced.order = new AdvancedOrder(new Client("john"), 15.0, "pack it nicely, please",
			"complex package");
	serialization.from(advanced).include("order").serialize();
	assertThat(result(), not(containsString("\"client\"")));
}