public function testHistoryHasExecutedCommands()
 {
     $message = 'wow';
     $cmd1 = $this->createChainableCommand();
     $this->dispatcher->handleCommands(array($cmd1), $message);
     $history = $this->dispatcher->getHistory();
     $this->assertEquals(array($cmd1), $history);
 }