PlantUMLInclude implements PlantUMLElement { public boolean isLocal() { return local; } PlantUMLInclude(String location); String getLocation(); boolean isLocal(); void setLineNumber(int lineNumber); int getLineNumber();  }
@Test public void location_with_http_localhost_is_not_local() { PlantUMLInclude include = new PlantUMLInclude("http: assertFalse(include.isLocal()); }
@Test public void location_with_https_localhost_is_not_local() { PlantUMLInclude include = new PlantUMLInclude("https: assertFalse(include.isLocal()); }
@Test public void location_with_C4_Content_pumlis_local() { PlantUMLInclude include = new PlantUMLInclude("C4_Component.puml"); assertTrue(include.isLocal()); }