/** * Matches if value is a string equal to $string, regardless of the case. */ function equalToIgnoringCase($string) { require_once 'Hamcrest/Text/IsEqualIgnoringCase.php'; return Hamcrest_Text_IsEqualIgnoringCase::equalToIgnoringCase($string); }
protected function createMatcher() { return Hamcrest_Text_IsEqualIgnoringCase::equalToIgnoringCase('irrelevant'); }