Example #1
0
 /**
  * Make sure that we can retrieve the registered subjects.
  */
 public function testGetSubjects()
 {
     $subjects = array('a' => new Subject(), 'b' => new Subject(), 'c' => new Subject());
     Property::set($this->collection, 'subjects', $subjects);
     $this->assertSame($subjects, $this->collection->getSubjects(), 'The list of subjects should be returned.');
 }