PieroneImage { public String getTeam() { return team; } PieroneImage(final String repository, final String team, final String artifact, final String tag); static Optional<PieroneImage> tryParse(final String source); String getTag(); String getArtifact(); String getTeam(); String getRepository(); @Override String toString();  }
@Test public void testGetTeam() throws Exception { assertThat(pieroneImage.getTeam()).isEqualTo(TEAM); }