@Override
  @CheckForNull
  public Language get(String languageKey) {
    return languages.get(languageKey);
  }
@Test
  public void should_return_null_when_language_not_found() {
    WsTestUtil.mockReader(wsClient, "/api/languages/list",
      new InputStreamReader(getClass().getResourceAsStream("DefaultLanguageRepositoryTest/languages-ws.json")));

    when(properties.getStringArray("sonar.java.file.suffixes")).thenReturn(JAVA_SUFFIXES);
    when(properties.getStringArray("sonar.xoo.file.suffixes")).thenReturn(XOO_SUFFIXES);
    when(properties.getStringArray("sonar.python.file.suffixes")).thenReturn(PYTHON_SUFFIXES);

    assertThat(underTest.get("k1")).isNull();
  }