### Question:
SQRParametersAccessor { public String getProjectName() { return myParameters.get(Constants.SONAR_PROJECT_NAME); } SQRParametersAccessor(@NotNull final Map<String, String> parameters); String getProjectName(); String getProjectKey(); String getProjectVersion(); String getProjectSources(); String getProjectTests(); String getProjectBinaries(); String getProjectModules(); String getHostUrl(); String getJDBCUrl(); String getJDBCUsername(); String getJDBCPassword(); String getAdditionalParameters(); String getLogin(); String getPassword(); String getProjectHome();  }### Answer:
@Test public void testGetProjectName() { final SQRParametersAccessor accessor = new SQRParametersAccessor(Collections.singletonMap(Constants.SONAR_PROJECT_KEY, "key")); Assert.assertEquals(accessor.getProjectName(), null, "Should be 'key'"); }