We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 27164a6 + 74e6c48 commit c70f52fCopy full SHA for c70f52f
1 file changed
tests/Cache/CacheRepositoryTest.php
@@ -66,9 +66,11 @@ public function testHasMethod()
66
$repo = $this->getRepository();
67
$repo->getStore()->shouldReceive('get')->once()->with('foo')->andReturn(null);
68
$repo->getStore()->shouldReceive('get')->once()->with('bar')->andReturn('bar');
69
+ $repo->getStore()->shouldReceive('get')->once()->with('baz')->andReturn(false);
70
71
$this->assertTrue($repo->has('bar'));
72
$this->assertFalse($repo->has('foo'));
73
+ $this->assertTrue($repo->has('baz'));
74
}
75
76
public function testMissingMethod()
0 commit comments