assertSame($expected, $specification->passes()); } /** * @return \Generator */ public function passesProvider() : Generator { yield [ ExtensionIsLoaded::with('json'), true, ]; yield [ ExtensionIsLoaded::with("I be trappin' where I go"), false, ]; } }