expectException(BadRequestException::class); Delete::rawContent(); } public function testWithoutAuthenticatedUser() { self::markTestIncomplete('Needs BasicAuth as dynamic method for overriding first'); } public function testWrong() { $this->expectException(BadRequestException::class); Delete::rawContent(['photo_id' => 1]); } public function testWithCorrectPhotoId() { self::markTestIncomplete('We need to add a dataset for this.'); } }