@Test
public void getJMXBeansShouldIncludeThreeBeans() {

    final JMXBeanLoader beanLoader = new JMXBeanLoader(controller, connectionWorker, settings, errorHandler);
    final List<JMXBean> jmxBeans = beanLoader.getJMXBeans();
    assertNotNull(jmxBeans);
    assertEquals(3, jmxBeans.size());
    assertTrue(containsBeanOfType(jmxBeans, NetworkInformation.class));
    assertTrue(containsBeanOfType(jmxBeans, ControllerInformation.class));
    assertTrue(containsBeanOfType(jmxBeans, GeneralInformation.class));
}