public function testCustomerNotFound()
{
$this->customerModel->expects($this->once())->method('load')->with('[email protected]')->will($this->returnValue($this->customerModel));
$this->customerModel->expects($this->exactly(2))->method('getId')->will($this->returnValue(null));
$this->customerModel->expects($this->once())->method('setWebsiteId')->with(1)->will($this->returnValue($this->customerModel));
$this->customerModel->expects($this->once())->method('loadByEmail')->with('[email protected]')->will($this->returnValue($this->customerModel));
$application = $this->getApplication();
$application->add($this->command);
$command = $this->getApplication()->find('customer:delete');
$commandTester = new CommandTester($command);
$commandTester->execute(array('command' => $command->getName(), 'id' => '[email protected]', '--force' => true));
$this->assertContains('No customer found!', $commandTester->getDisplay());
}