. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Census; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\TestCase; /** * Test harness for the class CensusColumnRelationToHead */ class CensusColumnRelationToHeadEnglishTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHeadEnglish * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHead * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn * * @return void */ 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)); } }