assertNull(zeroB.getId());
}
@Test
public void testExcludedField_OneLevel() {
OneB oneB = newInstance(OneB.class);
oneB.setId(Integer.valueOf("10"));
OneA oneA = mapper.map(oneB, OneA.class);
assertNull(oneA.getId());
assertEquals(Integer.valueOf("10"), oneB.getId());
}