@Test
public void shouldSetURL() throws Exception
{

    String               url      = "service:jmx:rmi:///jndi/rmi://localhost:40000/jmxrmi";
    DeferredJMXConnector deferred = new DeferredJMXConnector(url);
    assertThat(deferred.getJMXConnectionURL(), is(url));
}