We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea496c9 commit b134babCopy full SHA for b134bab
tests/Asserts/ReflectionAssertsTest.php
@@ -29,4 +29,16 @@ public function it_has_trait_not_used_assertion()
29
{
30
$this->assertTraitNotUsed(Post::class, 'Acme\Trait\Fake');
31
}
32
+
33
+ /** @test */
34
+ public function it_has_method_exists_assertion()
35
+ {
36
+ $this->assertMethodExists(Post::class, 'save');
37
+ }
38
39
40
+ public function it_has_method_not_exists_assertion()
41
42
+ $this->assertMethodNotExists(Post::class, 'foobarbaz');
43
44
0 commit comments