EnvironmentIdValidator { public static boolean isValid(@NotNull String environmentId) { return environmentId.matches(URL_REGEX); }  static boolean isValid(@NotNull String environmentId);  }
@Test public void urlShouldBeValid() throws Exception { assertTrue(EnvironmentIdValidator.isValid("system: }
@Test public void urlShouldBeValid2() throws Exception { assertTrue(EnvironmentIdValidator.isValid("project:/la.com")); }
@Test public void urlShouldBeValid3() throws Exception { assertTrue(EnvironmentIdValidator.isValid("project: }
@Test public void urlShouldBeValid4() throws Exception { assertTrue(EnvironmentIdValidator.isValid("system: }
@Test public void urlShouldNotBeValid() throws Exception { assertFalse(EnvironmentIdValidator.isValid("project: }
@Test public void urlShouldNotBeValid2() throws Exception { assertFalse(EnvironmentIdValidator.isValid("project: }
@Test public void urlShouldNotBeValid3() throws Exception { assertFalse(EnvironmentIdValidator.isValid("")); }
@Test public void urlShouldNotBeValid4() throws Exception { assertFalse(EnvironmentIdValidator.isValid("project: }