コード例 #1
0
 public function testConfigureDoesNothing()
 {
     $dispatcher = $this->createMock(ExerciseDispatcher::class);
     $exercise = new AbstractExerciseImpl('Array We Go');
     $this->assertNull($exercise->configure($dispatcher));
 }
コード例 #2
0
 public function testConfigureDoesNothing()
 {
     $dispatcher = $this->getMockBuilder(ExerciseDispatcher::class)->disableOriginalConstructor()->getMock();
     $exercise = new AbstractExerciseImpl('Array We Go');
     $this->assertNull($exercise->configure($dispatcher));
 }