check if the sub class of Process has overwrite the run method
public static checkOverwriteRunMethod ( $child_class ) | ||
$child_class |
public function testError() { $this->setExpectedException("RuntimeException"); \Jenner\SimpleFork\Utils::checkOverwriteRunMethod(get_class(new \Jenner\SimpleFork\Process())); }