get($route); } trait Gettable { /** * @return TestCase|TestCall|Gettable */ public function get(string $route) { expect($route)->not->toBeEmpty(); return $this; } } get('foo'); // not incomplete because closure is created... get('foo')->get('bar')->expect(true)->toBeTrue(); get('foo')->expect(true)->toBeTrue(); describe('a "describe" group of tests', function () { get('foo'); // not incomplete because closure is created... get('foo')->get('bar')->expect(true)->toBeTrue(); get('foo')->expect(true)->toBeTrue(); });