. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Census; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\TestCase; /** * Test harness for the class CensusColumnRelationToHead */ class CensusColumnRelationToHeadTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHead * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn */ public function testNull(): void { $individual = $this->createMock(Individual::class); $census = $this->createMock(CensusInterface::class); $column = new CensusColumnRelationToHead($census, '', ''); self::assertSame('-', $column->generate($individual, $individual)); } }