for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace GacelaTest\Integration\Framework\DocBlockResolverAware;
use PHPUnit\Framework\TestCase;
final class DocBlockResolverAwareTest extends TestCase
{
public function test_existing_service(): void
$dummy = new DummyDocBlockResolverAware();
$actual = $dummy->getRepository()->findName();
self::assertSame('name', $actual);
}
public function test_non_existing_service(): void
$this->expectExceptionMessage('Missing the concrete return type for the method `getRepository()`');
$dummy = new BadDummyDocBlockResolverAware();
$dummy->getRepository();