@UseDataProvider("forTestParsingAcceptLanguageHeader")
@Test
public void testParsingAcceptLanguageHeader(String acceptLanguageHeader, String language, String country, float qValue) {

    AcceptLanguageHeaderDelegate headerDelegate = new AcceptLanguageHeaderDelegate();
    AcceptLanguage acceptLanguage = headerDelegate.fromString(acceptLanguageHeader);
    assertEquals(language, acceptLanguage.getPrimaryTag());
    assertEquals(country, acceptLanguage.getSubTag());
    assertEquals(qValue, acceptLanguage.getQvalue(), 0.0F);
}