### Question:
FIXTransportListener extends AbstractTransportListener { public void init(ConfigurationContext cfgCtx, TransportInDescription trpInDesc) throws AxisFault { super.init(cfgCtx, trpInDesc); fixSessionFactory = FIXSessionFactory.getInstance(new FIXApplicationFactory(cfgCtx)); fixSessionFactory.setListenerThreadPool(this.workerPool); log.info("FIX transport listener initialized..."); }  void init(ConfigurationContext cfgCtx,
                     TransportInDescription trpInDesc); void startListeningForService(AxisService service); EndpointReference[] getEPRsForService(String serviceName, String ip);  }### Answer:
@Test public void testFIXTransportListenerInit() throws Exception { AxisService axisService = new AxisService("testFIXService"); axisService.addParameter(new Parameter(FIXConstants.FIX_ACCEPTOR_CONFIG_URL_PARAM, "/sample/path/Mock.cfg")); axisService.addParameter(new Parameter(FIXConstants.FIX_INITIATOR_CONFIG_URL_PARAM, "/sample/path/Mock2.cfg")); ConfigurationContext cfgCtx = new ConfigurationContext(new AxisConfiguration()); TransportDescriptionFactory transportDescriptionFactory = new TransportDescriptionFactory() { @Override public TransportOutDescription createTransportOutDescription() throws Exception { TransportOutDescription trpOutDesc = new TransportOutDescription("fix"); trpOutDesc.setSender(new FIXTransportSender()); return trpOutDesc; } @Override public TransportInDescription createTransportInDescription() throws Exception { TransportInDescription trpInDesc = new TransportInDescription("fix"); trpInDesc.setReceiver(new FIXTransportListener()); return trpInDesc; } }; TransportInDescription transportInDescription = null; try { transportInDescription = transportDescriptionFactory.createTransportInDescription(); } catch (Exception e) { logger.error(e); Assert.fail("Error occurred while creating transport in description"); } FIXTransportListener listner = new FIXTransportListener(); listner.init(cfgCtx, transportInDescription); }