芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/www/vendor/hamcrest/hamcrest-php/tests/Hamcrest/InvokedMatcherTest.php
matchAgainst = $matchAgainst; } public function matches($item) { return $item == $this->matchAgainst; } } class InvokedMatcherTest extends TestCase { public function testInvokedMatchersCallMatches() { $sampleMatcher = new SampleInvokeMatcher('foo'); $this->assertTrue($sampleMatcher('foo')); $this->assertFalse($sampleMatcher('bar')); } }