Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
namespace Hamcrest;
3
 
4
/* Test-specific subclass only */
5
class BaseMatcherTest extends \Hamcrest\BaseMatcher
6
{
7
 
8
    public function matches($item)
9
    {
10
        throw new \RuntimeException();
11
    }
12
 
13
    public function describeTo(\Hamcrest\Description $description)
14
    {
15
        $description->appendText('SOME DESCRIPTION');
16
    }
17
 
18
    public function testDescribesItselfWithToStringMethod()
19
    {
20
        $someMatcher = new \Hamcrest\SomeMatcher();
21
        $this->assertEquals('SOME DESCRIPTION', (string) $someMatcher);
22
    }
23
}