@Test
public void testOnRequest() throws Exception
{

    commandResponseListener.onRequest( payload );
    verify( callback ).onResponse( any( Response.class ), any( CommandResult.class ) );
    when( payload.getMessage( CommandResponse.class ) ).thenReturn( null );
    commandResponseListener.onRequest( payload );
    verify( callback ).onResponse( any( Response.class ), any( CommandResult.class ) );
}