PieroneImage { public String getRepository() { return repository; } 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 testGetRepository() throws Exception { assertThat(pieroneImage.getRepository()).isEqualTo(REPOSITORY); }