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