{
Map<Object, Object> props = new HashMap<Object, Object>();
// Endpoint wants String-typed properties
props.put(FtpConnector.PROPERTY_POLLING_FREQUENCY, String.valueOf(POLLING_FREQUENCY_OVERRIDE));
InboundEndpoint endpoint = getTestInboundEndpoint("mock", null, null, null, props, null);
Service service = getTestService("apple", Apple.class);
FtpConnector connector = (FtpConnector)getConnector();
MessageReceiver receiver = connector.createReceiver(service, endpoint);
assertEquals("Polling frequency endpoint override must not be ignored.", POLLING_FREQUENCY_OVERRIDE,