diff --git a/src/FakeCar.php b/src/FakeCar.php index 4c91530..1898e8c 100644 --- a/src/FakeCar.php +++ b/src/FakeCar.php @@ -220,6 +220,8 @@ public function vehicleEnginePowerValue(): string public function isSupported(string $method): bool { + $method = 'get'.ucfirst($method); + if (method_exists($this->dataProvider, $method)) { return true; }