@Test
public void testCheckValueIsNotString() {

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