AWS SDK for PHPのクラスをPHPUnitでモックしようとした所次のようなエラーが発生しました。 public function testExample() { $s3Client = $this->createMock(S3Client::class); $s3Client->method('GetObject'); } PHPUnit 9.5.4 by Sebastian Bergmann and contributors. Trying to configure method "GetObject" which cannot be configured because it does not exist, has not been specified, is final, or is static /path/to/test/ExampleTest.php:18 Time
