Example #1
0
 public function fromArray(array $arr)
 {
     foreach ($arr['testables'] as $testable) {
         $testMethod = new TestMethod();
         $testMethod->fromArray($testable);
         $this->addTestMethod($testMethod);
     }
     $this->classFilePath = $arr['classFilePath'];
     $this->className = $arr['className'];
     $this->isExecutionPlan = $arr['isExecutionPlan'];
     return $this;
 }