private String password;
@Test
public void testSmppSessionFactory() throws Throwable {
SmppSessionFactoryBean smppSessionFactoryBean = new SmppSessionFactoryBean();
smppSessionFactoryBean.setSystemId(this.systemId);
smppSessionFactoryBean.setPort(this.port);
smppSessionFactoryBean.setPassword(this.password);
smppSessionFactoryBean.setHost(this.host);
smppSessionFactoryBean.afterPropertiesSet();
ExtendedSmppSession extendedSmppSession = smppSessionFactoryBean.getObject();
Assert.assertTrue(extendedSmppSession instanceof ExtendedSmppSessionAdaptingDelegate);
ExtendedSmppSessionAdaptingDelegate es = (ExtendedSmppSessionAdaptingDelegate) extendedSmppSession;
Assert.assertNotNull("the factoried object should not be null", extendedSmppSession);
es.addMessageReceiverListener(new MessageReceiverListener() {