// set the mock packet processor
MockPacketProcessor pp = new MockPacketProcessor();
server.setPacketProcessor(pp);
SmppConfiguration configuration = new SmppConfiguration();
configuration.setHost("localhost");
configuration.setPort(SERVER_PORT);
configuration.setSystemId("test");
configuration.setPassword("test");
configuration.setSystemType("test");
configuration.setBindNPI("1");
configuration.setBindTON("2");
SmppConnector connector = new SmppConnector(configuration);
injectResource(new MockProcessorContext(), connector);
connector.doStart();
waitUntilStatus(connector, DEFAULT_TIMEOUT, Status.OK);