@Test
public void Should_executeSessionCommands()
        throws Exception {

    Object args = new Object();
    Object result = new Object();
    when(session[0].executeCommand(eq("theCommand"), same(args))).thenReturn(result);
    DebuggerActor actor = new DebuggerActor();
    String id = doCreateSession(actor, session[0]);
    reset(commandMessageMock);
    when(commandMessageMock.getDebuggerAddress()).thenReturn(debuggerAddress);
    when(commandMessageMock.getCommandArguments()).thenReturn(args);
    when(commandMessageMock.getCommand()).thenReturn("theCommand");
    when(commandMessageMock.getSessionId()).thenReturn(id);
    actor.executeCommand(commandMessageMock);
    verify(commandMessageMock).setCommandResult(same(result));
}