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