RestClientProperties { public boolean isURLSet() { return getUrl() != null; }  String getUrl(); boolean isURLSet();  }
@Test public void should_retrieve_false_if_system_property_not_set() throws Exception { assertThat(restClientProperties.isURLSet()).isFalse(); }
@Test public void should_retrieve_true_if_system_property_is_set() throws Exception { when(env.getProperty(RestClientProperties.WORKSPACE_API_REST_URL)).thenReturn("http: assertThat(restClientProperties.isURLSet()).isTrue(); }