. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Census; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\TestCase; use PHPUnit\Framework\Attributes\CoversClass; #[CoversClass(CensusColumnRelationToHeadEnglish::class)] #[CoversClass(CensusColumnRelationToHead::class)] #[CoversClass(AbstractCensusColumn::class)] class CensusColumnRelationToHeadEnglishTest extends TestCase { public function testNull(): void { $individual = $this->createMock(Individual::class); $census = $this->createMock(CensusInterface::class); $column = new CensusColumnRelationToHeadEnglish($census, '', ''); self::assertSame('head', $column->generate($individual, $individual)); } }