### Question:
ManagedConnectionFactoryImpl extends AbstractManagedConnectionFactoryImpl implements CXFManagedConnectionFactory { public void setEJBServicePropertiesPollInterval(Integer pollInterval) { setProperty(MONITOR_POLL_INTERVAL, pollInterval.toString()); } ManagedConnectionFactoryImpl();  ManagedConnectionFactoryImpl(Properties props); void setLogLevel(String logLevel); void setEJBServicePropertiesURL(String name); void setMonitorEJBServiceProperties(Boolean monitor); void setEJBServicePropertiesPollInterval(Integer pollInterval); String getLogLevel(); String getEJBServicePropertiesURL(); Boolean getMonitorEJBServiceProperties(); Integer getEJBServicePropertiesPollInterval(); URL getEJBServicePropertiesURLInstance(); String getEJBServantBaseURL(); void setEJBServantBaseURL(String url); Object createConnectionFactory(); Object createConnectionFactory(ConnectionManager connMgr); ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo connReqInfo); void close(); Bus getBus();  }### Answer:
@Test public void testSetEJBServicePropertiesPollInterval() throws Exception { final Integer value = Integer.valueOf(10); Properties p = new Properties(); ManagedConnectionFactoryImpl mcf = new ManagedConnectionFactoryImpl(p); mcf.setEJBServicePropertiesPollInterval(value); assertTrue(p.containsValue(value.toString())); assertEquals(value, mcf.getEJBServicePropertiesPollInterval()); }
@Test public void testSetEJBServicePropertiesPollInterval() throws Exception { final Integer value = new Integer(10); Properties p = new Properties(); ManagedConnectionFactoryImpl mcf = new ManagedConnectionFactoryImpl(p); mcf.setEJBServicePropertiesPollInterval(value); assertTrue(p.containsValue(value.toString())); assertEquals(value, mcf.getEJBServicePropertiesPollInterval()); }