    @Test
    public void parseStringWithCustomAsciiEncoding() throws UnsupportedEncodingException {

        // Arrange, act
        Playlist playlist = PlaylistParser.parse(TEST_PLS, ENCODING_ASCII);

        // Verify
        assertNotNull(playlist);
        assertEquals(TEST_PLAYLIST_SIZE, playlist.getTracks().size());
        assertEquals(TEST_PLAYLIST_VERSION, playlist.getVersion());
    }