. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Census; use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\TestCase; /** * Test harness for the class CensusColumnReligion */ class CensusColumnReligionTest extends TestCase { /** * @covers \Fisharebest\Webtrees\Census\CensusColumnReligion * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn * * @return void */ public function testReligion(): void { $individual = $this->createMock(Individual::class); $census = $this->createMock(CensusInterface::class); $census->method('censusDate')->willReturn('01 JUN 1860'); $column = new CensusColumnReligion($census, '', ''); $this->assertSame('', $column->generate($individual, $individual)); } }