@Test
public void shouldOverwriteQueryParsersWithSameLanguageInConstructor() {

    parser2 = new MockParser(parser1.getLanguage());
    parsers = new QueryParsers(parser1, parser2, parser3);
    assertThat(parsers.getLanguages().size(), is(2));
    assertThat(parsers.getLanguages().contains(parser2.getLanguage()), is(true));
    assertThat(parsers.getLanguages().contains(parser3.getLanguage()), is(true));
}