@Test
public void setValue_whenValueIsNull_throwsException() {

  try {
    subject.setValue((JsonNode) null);
    fail("should throw");
  } catch (final ParameterizedValidationException e) {
    assertThat(e.getMessage(), equalTo(ErrorMessages.MISSING_VALUE));
  }
}