@Test
public void testCheckValueIsNull() {

    final ObjectNode param = mapper.createObjectNode();
    assertThatThrownBy(() -> service.check(testingFilterName, param))
            .isInstanceOf(BadParameterException.class)
            .hasMessageContaining("required parameter");
}