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