@Test
public void shouldHandleProperlyMissingWeight() throws MalformedInputException {

    String localeString = "pl-PL,ru;q=0.2,en;q=0.4,ro;q=0.3,pl";
    List<Locale> locales = LOCALE_PARSER.parse(localeString);
    assertThat(locales.get(0), is(new Locale("pl")));
    assertThat(locales.get(1), is(new Locale("en")));
    assertThat(locales.get(2), is(new Locale("ro")));
    assertThat(locales.get(3), is(new Locale("ru")));
}