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;