. */ 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 * * @return void */ public function testNull(): void { $individual = self::createMock(Individual::class); $census = self::createMock(CensusInterface::class); $column = new CensusColumnRelationToHeadGerman($census, '', ''); self::assertSame('Haushaltungsvorstand', $column->generate($individual, $individual)); } }