### Question:
ParserWrapper implements Parser { @Override public void moveToNextValue() throws MatchbookSDKParsingException { try { jsonParser.nextValue(); } catch (IOException e) { throw new MatchbookSDKParsingException(e); } } ParserWrapper(JsonFactory jsonFactory, InputStream inputStream); @Override boolean hasCurrentToken(); @Override boolean isEndOfObject(); @Override boolean isEndOfArray(); @Override void moveToNextToken(); @Override void moveToNextValue(); @Override void skipChildren(); @Override String getFieldName(); @Override Boolean getBoolean(); @Override String getString(); @Override Integer getInteger(); @Override Long getLong(); @Override Double getDouble(); @Override BigDecimal getDecimal(); @Override Instant getInstant(); @Override T getEnum(Class<T> enumClass); @Override void close();  }### Answer:
@Test @DisplayName("Move to next value") void moveToNextValueTest() throws IOException { unit.moveToNextValue(); verify(jsonParser).nextValue(); }
@Test @DisplayName("Exception moving to next value") void moveToNextValueFailedTest() throws IOException { doThrow(IOException.class).when(jsonParser).nextValue(); assertThatExceptionOfType(MatchbookSDKParsingException.class) .isThrownBy(() -> unit.moveToNextValue()); }