### Question:
EcoIdUtils { public static String formatId(SubjectAndVersion subjectAndVersion) { Validate.notNull(subjectAndVersion, "SubjectAndVersion is null"); return formatId(subjectAndVersion.getSubject(), subjectAndVersion.getVersion()); } private  EcoIdUtils(); static String formatId(SubjectAndVersion subjectAndVersion); static String formatId(String subject, int version);  }### Answer:
@Test public void testIdFormatted1() throws Exception { String ecoId = EcoIdUtils.formatId("subject", 10); Assert.assertNotNull(ecoId); }
@Test public void testIdFormatted2() throws Exception { String ecoId = EcoIdUtils.formatId(SubjectAndVersion.with("subject", 10)); Assert.assertNotNull(ecoId); }