Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
{prologue}{class_declaration}
2
{
3
    protected $invocationMocker;
4
 
5
{clone}{mocked_methods}
6
    public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher)
7
    {
8
        return $this->__phpunit_getInvocationMocker()->expects($matcher);
9
    }
10
 
11
    public function __phpunit_getInvocationMocker()
12
    {
13
        if ($this->invocationMocker === NULL) {
14
            $this->invocationMocker = new PHPUnit_Framework_MockObject_InvocationMocker($this);
15
        }
16
 
17
        return $this->invocationMocker;
18
    }
19
 
20
    public function __phpunit_verify()
21
    {
22
        $this->__phpunit_getInvocationMocker()->verify();
23
    }
24
 
25
    public function __phpunit_cleanup()
26
    {
27
        $this->invocationMocker = NULL;
28
    }
29
}