/** * */ public function testNotifyWithBreak() { $observable = new Observable(); $observable->attachObserver('foo', function () { return false; }); $observable->attachObserver('foo', function () { return 'foo'; }); $observable->attachObserver('foo', function () { return 'bar'; }); $this->assertEquals([false], $observable->notifyFooWithBreak()); }