### Question:
ObjectParseException extends ObjectTransformationException { public String getRawValue() { return this.rawValue; } ObjectParseException(String message, Throwable cause, Class<?> valueClass, String rawValue);  ObjectParseException(Throwable cause, Class<?> valueClass, String rawValue);  ObjectParseException(String message, Class<?> valueClass, String rawValue); String getRawValue();  }### Answer:
@Test public void testExceptionWithMessage() throws Exception { ObjectParseException sut = new ObjectParseException(MESSAGE, VALUE_CLASS,VALUE); assertThat(sut.getRawValue(),equalTo(VALUE)); assertThat((Object)sut.getValueClass(),sameInstance((Object)VALUE_CLASS)); assertThat(sut.getCause(),nullValue()); assertThat(sut.getMessage(),equalTo(MESSAGE)); }
@Test public void testExceptionWithCause() throws Exception { ObjectParseException sut = new ObjectParseException(CAUSE, VALUE_CLASS,VALUE); assertThat(sut.getRawValue(),equalTo(VALUE)); assertThat((Object)sut.getValueClass(),sameInstance((Object)VALUE_CLASS)); assertThat(sut.getCause(),sameInstance(CAUSE)); assertThat(sut.getMessage(),notNullValue()); }
@Test public void testExceptionWithCauseAndMessage() throws Exception { ObjectParseException sut = new ObjectParseException(MESSAGE,CAUSE, VALUE_CLASS,VALUE); assertThat(sut.getRawValue(),equalTo(VALUE)); assertThat((Object)sut.getValueClass(),sameInstance((Object)VALUE_CLASS)); assertThat(sut.getCause(),sameInstance(CAUSE)); assertThat(sut.getMessage(),equalTo(MESSAGE)); }