testify/PassedTestResult.php

21 lines
270 B
PHP

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