/**
  * Extracts the return value of the test's getInfo() method, if there's no
  * logic in the method.
  *
  * @param \Pharborist\Objects\ClassNode $test
  *
  * @return array|NULL
  */
 private function extractInfo(ClassNode $test)
 {
     if ($test->hasMethod('getInfo')) {
         $info = $test->getMethod('getInfo');
         if (!$info->is(new ContainsLogicFilter())) {
             return eval($info->getBody()->getText());
         }
     }
 }