### Question:
JndiFacade extends MBeanSupport implements JndiFacadeMXBean { @Override public JndiDTO[] getData() throws NamingException { return list(""); } JndiFacade(); final void addDataTypes(Collection<Class>  aDataTypes); final void addDataTypes(Class... aDataTypes); final void addDataTypes(String... aDataTypeNames); @Override JndiDTO[] list(final String name); @Override JndiDTO lookup(final String name); @Override JndiDTO[] getData(); @Override String getContextName(); void setContextName(String contextName); Hashtable<String, ?> getEnvironment(); void setEnvironment(Hashtable<String, ?> environment);  }### Answer:
@Test public void testGetData() throws NamingException { assertEquals(3, jndiFacade.getData().length); }