### Question:
VoidStaxUnmarshaller implements Unmarshaller<T, StaxUnmarshallerContext> { @Override @SuppressWarnings("checkstyle:emptystatement") public T unmarshall(StaxUnmarshallerContext context) throws Exception { while (context.nextEvent() != XmlPullParser.END_DOCUMENT) ; return null; }  @Override @SuppressWarnings("checkstyle:emptystatement") T unmarshall(StaxUnmarshallerContext context);  }### Answer:
@Test public void testUnmarshall() throws XmlPullParserException, IOException, Exception { VoidStaxUnmarshaller<String> vsu = new VoidStaxUnmarshaller<String>(); assertNull(vsu.unmarshall(getContext("Junk"))); assertNull(vsu.unmarshall(getContext(""))); }