mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
On to PHP7^!
This commit is contained in:
@@ -57,7 +57,7 @@ class ObserverTest extends \PHPUnit_Framework_TestCase
|
||||
public function testUpdateCalling()
|
||||
{
|
||||
$subject = new User();
|
||||
$observer = $this->getMock('SplObserver');
|
||||
$observer = $this->createMock('SplObserver');
|
||||
$subject->attach($observer);
|
||||
|
||||
$observer->expects($this->once())
|
||||
|
Reference in New Issue
Block a user