}
@Test
public void testGetResponse() {
state.addResponse( mock( Response.class ) );
Response response = mock( Response.class );
state.addResponse( response );
Response response2 = mock( Response.class );
state.addResponse( mock( Response.class ) );
state.addResponse( response2 );
assertSame( response, state.getResponse( 2 ) );
assertSame( response2, state.getResponse( 4 ) );