. */ 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 = $this->createMock(Individual::class); $census = $this->createMock(CensusInterface::class); $column = new CensusColumnRelationToHeadGerman($census, '', ''); $this->assertSame('Haushaltungsvorstand', $column->generate($individual, $individual)); } }