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 3507898 commit 816d897Copy full SHA for 816d897
tests/Asserts/ReflectionAssertsTest.php
@@ -1,9 +1,23 @@
1
<?php
2
3
+use Illuminate\Console\Command;
4
+use Illuminate\Database\Eloquent\Model;
5
use Illuminate\Notifications\Notifiable;
6
7
class ReflectionAssertsTest extends TestCase
8
{
9
+ /** @test */
10
+ public function it_has_subclass_of_assertion()
11
+ {
12
+ $this->assertSubclassOf(Post::class, Model::class);
13
+ }
14
+
15
16
+ public function it_has_not_subclass_of_assertion()
17
18
+ $this->assertNotSubclassOf(Post::class, Command::class);
19
20
21
/** @test */
22
public function it_has_trait_used_assertion()
23
0 commit comments