diff --git a/tests/Features/DependsInheritance.php b/tests/Features/DependsInheritance.php new file mode 100644 index 00000000..cb7842c3 --- /dev/null +++ b/tests/Features/DependsInheritance.php @@ -0,0 +1,22 @@ +toBeTrue(); +}); + +it('uses correct parent class', function () { + expect(get_parent_class($this))->toEqual(InheritanceTest::class); + expect($this->foo())->toEqual('bar'); +})->depends('it is a test');