. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Census; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\TestCase; /** * Test harness for the class CensusColumnRelationToHead */ class CensusColumnRelationToHeadGermanTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHeadGerman * @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 CensusColumnRelationToHeadGerman($census, '', ''); self::assertSame('Haushaltungsvorstand', $column->generate($individual, $individual)); } }