PATH:
home
/
centosnipponia
/
public_html
/
eccity
/
vendor
/
hamcrest
/
hamcrest-php
/
tests
/
Hamcrest
<?php namespace Hamcrest; /* Test-specific subclass only */ class BaseMatcherTest extends \Hamcrest\BaseMatcher { public function matches($item) { throw new \RuntimeException(); } public function describeTo(\Hamcrest\Description $description) { $description->appendText('SOME DESCRIPTION'); } public function testDescribesItselfWithToStringMethod() { $someMatcher = new \Hamcrest\SomeMatcher(); $this->assertEquals('SOME DESCRIPTION', (string) $someMatcher); } }
[+]
..
[-] FeatureMatcherTest.php
[edit]
[-] MatcherAssertTest.php
[edit]
[-] AbstractMatcherTest.php
[edit]
[-] StringDescriptionTest.php
[edit]
[-] BaseMatcherTest.php
[edit]
[+]
Collection
[+]
Type
[+]
Array
[+]
Xml
[+]
Number
[-] InvokedMatcherTest.php
[edit]
[+]
Text
[+]
Core
[-] UtilTest.php
[edit]
[-] .htaccess.disabled
[edit]