### Question:
DirPollAdaptor extends QBeanSupport implements DirPollAdaptorMBean { public long getPollInterval () { return pollInterval; } DirPollAdaptor(); synchronized void setPath(String path); synchronized void setPoolSize(int size); int getPoolSize(); String getPath(); synchronized void setPollInterval(long pollInterval); long getPollInterval(); synchronized void setPriorities(String priorities); String getPriorities(); synchronized void setProcessor(String processor); String getProcessor();  }### Answer:
@Test public void testGetPollInterval() throws Throwable { long result = new DirPollAdaptor().getPollInterval(); assertEquals(1000L, result, "result"); }