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 4bcf96f commit e6d67aeCopy full SHA for e6d67ae
README.md
@@ -437,6 +437,22 @@ $this->dontSeeElementTimes('.body-item', 5);
437
438
### ReflectionAsserts
439
440
+#### `assertSubclassOf()`
441
+
442
+Checks that class is subclass of specified parent class:
443
444
+```php
445
+$this->assertSubclassOf(Post::class, Model::class);
446
+```
447
448
+#### `assertNotSubclassOf()`
449
450
+Checks that class is not subclass of specified parent class:
451
452
453
+$this->assertNotSubclassOf(Post::class, Command::class);
454
455
456
#### `assertTraitUsed()`
457
458
Checks that class is using specified trait:
0 commit comments