@Test
public void testGetBaseRetranmissionInterval() {
Message message = control.createMock(Message.class);
AssertionInfoMap aim = control.createMock(AssertionInfoMap.class);
EasyMock.expect(message.get(AssertionInfoMap.class)).andReturn(aim);
AssertionInfo ai1 = control.createMock(AssertionInfo.class);
AssertionInfo ai2 = control.createMock(AssertionInfo.class);
AssertionInfo ai3 = control.createMock(AssertionInfo.class);
AssertionInfo ai4 = control.createMock(AssertionInfo.class);
Collection<AssertionInfo> ais = new ArrayList<AssertionInfo>();
ais.add(ai1);
ais.add(ai2);
ais.add(ai3);
ais.add(ai4);
EasyMock.expect(aim.get(RMConstants.getRMAssertionQName())).andReturn(ais);
JaxbAssertion ja1 = control.createMock(JaxbAssertion.class);
EasyMock.expect(ai1.getAssertion()).andReturn(ja1);
RMAssertion rma1 = control.createMock(RMAssertion.class);
EasyMock.expect(ja1.getData()).andReturn(rma1);
EasyMock.expect(rma1.getBaseRetransmissionInterval()).andReturn(null);
JaxbAssertion ja2 = control.createMock(JaxbAssertion.class);
EasyMock.expect(ai2.getAssertion()).andReturn(ja2);
RMAssertion rma2 = control.createMock(RMAssertion.class);
EasyMock.expect(ja2.getData()).andReturn(rma2);
RMAssertion.BaseRetransmissionInterval bri2 =
control.createMock(RMAssertion.BaseRetransmissionInterval.class);
EasyMock.expect(rma2.getBaseRetransmissionInterval()).andReturn(bri2);
EasyMock.expect(bri2.getMilliseconds()).andReturn(null);
JaxbAssertion ja3 = control.createMock(JaxbAssertion.class);
EasyMock.expect(ai3.getAssertion()).andReturn(ja3);
RMAssertion rma3 = control.createMock(RMAssertion.class);
EasyMock.expect(ja3.getData()).andReturn(rma3);
RMAssertion.BaseRetransmissionInterval bri3 =
control.createMock(RMAssertion.BaseRetransmissionInterval.class);
EasyMock.expect(rma3.getBaseRetransmissionInterval()).andReturn(bri3);
EasyMock.expect(bri3.getMilliseconds()).andReturn(new BigInteger("10000"));
JaxbAssertion ja4 = control.createMock(JaxbAssertion.class);
EasyMock.expect(ai4.getAssertion()).andReturn(ja4);
RMAssertion rma4 = control.createMock(RMAssertion.class);
EasyMock.expect(ja4.getData()).andReturn(rma4);
RMAssertion.BaseRetransmissionInterval bri4 =
control.createMock(RMAssertion.BaseRetransmissionInterval.class);
EasyMock.expect(rma4.getBaseRetransmissionInterval()).andReturn(bri4);