assertSame($expected, $specification->passes()); } /** * @return \Generator */ public function passesProvider() : Generator { yield [ ExtensionMinimumVersion::with('json', '0.0.0'), true, ]; yield [ ExtensionMinimumVersion::with('json', '999.0.0'), false, ]; yield [ ExtensionMinimumVersion::with('What about the forest?', '0.0.0'), false, ]; } }