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