public function testStoresCommands()
 {
     $c1 = new MockCommand();
     $c2 = new MockCommand();
     $e = new CommandTransferException('Test');
     $e->addSuccessfulCommand($c1)->addFailedCommand($c2);
     $this->assertSame(array($c1), $e->getSuccessfulCommands());
     $this->assertSame(array($c2), $e->getFailedCommands());
     $this->assertSame(array($c1, $c2), $e->getAllCommands());
 }