/**
  * @todo Implement testNotify().
  *
  * @covers  JObservable::notify
  */
 public function testNotify()
 {
     // Remove the following lines when you implement this test.
     $this->markTestIncomplete('This test has not been implemented yet.');
     $obj1 = new JObserverMock($this->object);
     $obj2 = new JObserverMock($this->object);
     $obj2->name = 'JObserverMock2';
     $this->object->_observers = array($obj1, $obj2);
     $this->assertThat($this->object->notify(), $this->equalTo(array('JObserverMock', 'JObserverMock2')));
 }
Beispiel #2
0
 /**
  * Constructor
  *
  * @access	protected
  */
 function __construct()
 {
     parent::__construct();
 }