} catch (PDUStringException e) {
fail("Failed composing bind response", e);
}
try {
BindResp resp = decomposer.bindResp(b);
assertEquals(resp.getCommandLength(), b.length);
assertEquals(resp.getCommandId(), bindType.responseCommandId());
assertEquals(resp.getCommandStatus(), SMPPConstant.STAT_ESME_ROK);
assertEquals(resp.getSequenceNumber(), 1);
assertEquals(resp.getSystemId(), systemId);
} catch (PDUStringException e) {
fail("Failed decomposing bind response", e);
}
}