### Question:
PlanIdentifier { public static URI parse(String planIdentifier) { return parse(PlanPath.parse(planIdentifier)); } private  PlanIdentifier(); static URI parse(String planIdentifier); static URI parse(URI planIdentifier); static boolean isPlan(URI planIdentifier); static boolean isPlan(Path path);  }### Answer:
@Test public void testParseString() { assertTrue(PlanIdentifier.parse("baba.plan").toString().contains("/Cucumber-Perf/baba.plan")); }
@Test public void testParseClassPath() { URI uri = PlanIdentifier.parse("classpath:/path/to/file.plan"); assertEquals(uri.getScheme(), "classpath"); assertEquals(uri.getSchemeSpecificPart(), "/path/to/file.plan"); }
@Test public void testParseURI() { assertEquals("baba.plan",PlanIdentifier.parse(URI.create("baba.plan")).toString()); try { PlanIdentifier.parse(URI.create("baba.p")); fail("Did not fail bogus plan URI"); } catch (Exception e) { } }