Exemplo n.º 1
0
 public function testCanSkipConfirmation()
 {
     $customerEmail = '*****@*****.**';
     $this->registryMock->expects($this->once())->method('registry')->with('skip_confirmation_if_email')->will($this->returnValue($customerEmail));
     $this->_model->setData(array('id' => 1, 'email' => $customerEmail));
     $this->assertTrue($this->_model->canSkipConfirmation());
 }