public function isTrustedComputer_cookieSet_validateTrustedCodes()
{
$user = $this->createMock('Scheb\\TwoFactorBundle\\Model\\TrustedComputerInterface');
$request = $this->createRequest('trustedCode1;trustedCode2');
//Mock the TrustedComputerManager object
$this->trustedComputerManager->expects($this->at(0))->method('isTrustedComputer')->with($user, 'trustedCode1');
$this->trustedComputerManager->expects($this->at(1))->method('isTrustedComputer')->with($user, 'trustedCode2');
$this->cookieManager->isTrustedComputer($request, $user);
}