testify/IgnoredTestResult.php

23 lines
349 B
PHP

<?php
class IgnoredTestResult implements TestResult {
protected $test;
protected $failure;
public function __construct(Testable $test, TestFailure $failure) {
$this->test = $test;
$this->failure = $failure;
}
public function passed() {
return false;
}
public function failed() {
return false;
}
}
?>