1 | <?php |
||
19 | class MemcachedMutexTest extends \PHPUnit_Framework_TestCase |
||
20 | { |
||
21 | /** |
||
22 | * @var \Phake_IMock |
||
23 | */ |
||
24 | private $memcached; |
||
25 | |||
26 | /** |
||
27 | * @var \Phake_IMock |
||
28 | */ |
||
29 | private $memcachedMutex; |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | */ |
||
34 | public function setUp() |
||
39 | |||
40 | /** |
||
41 | * @test |
||
42 | */ |
||
43 | public function shouldReturnKeyIfMutexIsAcquired() |
||
49 | |||
50 | /** |
||
51 | * @test |
||
52 | */ |
||
53 | public function shouldRetunNullIFMutexIsNotAcquired() |
||
59 | |||
60 | /** |
||
61 | * @test |
||
62 | */ |
||
63 | public function shouldReleaseMutex() |
||
71 | } |
||
72 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.