. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Census; use Fisharebest\Webtrees\Individual; use Mockery; /** * Test harness for the class CensusColumnRelationToHead */ class CensusColumnRelationToHeadGermanTest extends \Fisharebest\Webtrees\TestCase { /** * Delete mock objects * * @return void */ public function tearDown() { Mockery::close(); } /** * @covers \Fisharebest\Webtrees\Census\CensusColumnRelationToHeadGerman * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn * * @return void */ public function testNull(): void { $individual = Mockery::mock(Individual::class); $census = Mockery::mock(CensusInterface::class); $column = new CensusColumnRelationToHeadGerman($census, '', ''); $this->assertSame('Haushaltungsvorstand', $column->generate($individual, $individual)); } }