for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TheCodingMachine\GraphQL\Controllers\Annotations;
use BadMethodCallException;
use PHPUnit\Framework\TestCase;
class ExtendTypeTest extends TestCase
{
public function testException()
$this->expectException(BadMethodCallException::class);
$this->expectExceptionMessage('In annotation @ExtendType, missing compulsory parameter "class".');
new ExtendType([]);
}