@Test
public void validBooleanStringValue() {

    Mockito.when(headerDefinition.getJavaType()).thenReturn(boolean.class);
    final String value = String.valueOf(Boolean.TRUE);
    try {
        underTest.accept(headerDefinition, value);
    } catch (final Throwable t) {
        fail(value + " is a valid boolean representation!");
    }
}