### Question:
ProjectPomModel implements PomModel { @Override public AFReleaseId getParentReleaseId() { return parentReleaseId; } ProjectPomModel(final MavenSession mavenSession); @Override AFReleaseId getReleaseId(); @Override AFReleaseId getParentReleaseId(); @Override Collection<AFReleaseId> getDependencies(); @Override Collection<AFReleaseId> getDependencies(final DependencyFilter filter);  }### Answer:
@Test public void getParentReleaseId() { final MavenSession mavenSession = mockMavenSession(true); final ProjectPomModel pomModel = new ProjectPomModel(mavenSession); final AFReleaseId releaseId = pomModel.getParentReleaseId(); assertReleaseId(releaseId, PARENT_ARTIFACT_ID); }
@Test public void getParentReleaseIdNull() { final MavenSession mavenSession = mockMavenSession(false); final ProjectPomModel pomModel = new ProjectPomModel(mavenSession); assertThat(pomModel.getParentReleaseId()).isNull(); }