    @Test
    public void testGetParser() throws ParseException {

        // Arrange
        final String anyString = "Foo";
        // Act
        Parser<String> parser = testee.getParser(null, String.class);
        // Assert
        assertThat(parser.parse(null, Locale.getDefault())).isEqualTo(null);

        assertThat(parser.parse(anyString, null)).isEqualTo(anyString);

        assertThat(parser.parse("  ", null)).isEqualTo(null);
    }