@Test
public void shouldReturnHttpServicePortSecureFromSystemProperty() throws InvalidSyntaxException {

    when(bundleContext.getAllServiceReferences(ORG_OSGI_SERVICE_HTTP_SERVICE, null))
            .thenReturn(new ServiceReference[0]);
    when(bundleContext.getProperty(HTTP_PORT_SECURE)).thenReturn("49090");
    int port = HttpServiceUtil.getHttpServicePortSecure(bundleContext);
    assertThat(port, is(49090));
}