@Test public void testUnmarshal_regularType() { prepareReaderMock("REG"); Field result = (Field) this.converter.unmarshal(readerMock, contextMock); assertFieldResult(false, result); }
@Test public void testUnmarshal_compositeType() { prepareReaderMock(this.type); Field result = (Field) this.converter.unmarshal(readerMock, contextMock); assertFieldResult(true, result); }
@Test public void testUnmarshal_nullType() { prepareReaderMock(null); Field result = (Field) this.converter.unmarshal(readerMock, contextMock); assertFieldResult(false, result); }