public function testGetParents() { $stringArray = ['Parent_Class_Name1', 'Interface_1']; $this->classReaderMock->expects($this->once())->method('getParents')->with('Child_Class_Name')->willReturn($stringArray); $this->assertEquals($stringArray, $this->model->getParents('Child_Class_Name')); }