100225b98SGreg Roach<?php 200225b98SGreg Roach/** 300225b98SGreg Roach * webtrees: online genealogy 41062a142SGreg Roach * Copyright (C) 2018 webtrees development team 500225b98SGreg Roach * This program is free software: you can redistribute it and/or modify 600225b98SGreg Roach * it under the terms of the GNU General Public License as published by 700225b98SGreg Roach * the Free Software Foundation, either version 3 of the License, or 800225b98SGreg Roach * (at your option) any later version. 900225b98SGreg Roach * This program is distributed in the hope that it will be useful, 1000225b98SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 1100225b98SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1200225b98SGreg Roach * GNU General Public License for more details. 1300225b98SGreg Roach * You should have received a copy of the GNU General Public License 1400225b98SGreg Roach * along with this program. If not, see <http://www.gnu.org/licenses/>. 1500225b98SGreg Roach */ 1600225b98SGreg Roachnamespace Fisharebest\Webtrees\Census; 1700225b98SGreg Roach 1800225b98SGreg Roachuse Fisharebest\Webtrees\Date; 1900225b98SGreg Roachuse Mockery; 2000225b98SGreg Roach 2100225b98SGreg Roach/** 2200225b98SGreg Roach * Test harness for the class CensusColumnConditionFrenchFemme 2300225b98SGreg Roach */ 2484e2cf4eSGreg Roachclass CensusColumnConditionFrenchFemmeTest extends \Fisharebest\Webtrees\TestCase 25c1010edaSGreg Roach{ 2600225b98SGreg Roach /** 2700225b98SGreg Roach * Delete mock objects 28*52348eb8SGreg Roach * 29*52348eb8SGreg Roach * @return void 3000225b98SGreg Roach */ 31c1010edaSGreg Roach public function tearDown() 32c1010edaSGreg Roach { 3300225b98SGreg Roach Mockery::close(); 3400225b98SGreg Roach } 3500225b98SGreg Roach 3600225b98SGreg Roach /** 3715d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 3815d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 39*52348eb8SGreg Roach * 40*52348eb8SGreg Roach * @return void 4100225b98SGreg Roach */ 42c1010edaSGreg Roach public function testNoSpouseFamiliesMale() 43c1010edaSGreg Roach { 4400225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 4500225b98SGreg Roach $individual->shouldReceive('getSex')->andReturn('M'); 4613abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([]); 4700225b98SGreg Roach $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('1800')); 4800225b98SGreg Roach 4900225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 5000225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 5100225b98SGreg Roach 5200225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 5300225b98SGreg Roach 54342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 5500225b98SGreg Roach } 5600225b98SGreg Roach 5700225b98SGreg Roach /** 5815d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 5915d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 60*52348eb8SGreg Roach * 61*52348eb8SGreg Roach * @return void 6200225b98SGreg Roach */ 63c1010edaSGreg Roach public function testNoSpouseFamiliesFemale() 64c1010edaSGreg Roach { 6500225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 6600225b98SGreg Roach $individual->shouldReceive('getSex')->andReturn('F'); 6713abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([]); 6800225b98SGreg Roach $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('1800')); 6900225b98SGreg Roach 7000225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 7100225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 7200225b98SGreg Roach 7300225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 7400225b98SGreg Roach 75342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 7600225b98SGreg Roach } 7700225b98SGreg Roach 7800225b98SGreg Roach /** 7915d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 8015d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 81*52348eb8SGreg Roach * 82*52348eb8SGreg Roach * @return void 8300225b98SGreg Roach */ 84c1010edaSGreg Roach public function testNoFamilyFactsMale() 85c1010edaSGreg Roach { 8600225b98SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 8700225b98SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 882a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([]); 8900225b98SGreg Roach 9000225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 9113abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 922a6fda60SGreg Roach $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('1800')); 932a6fda60SGreg Roach $individual->shouldReceive('getSex')->andReturn('M'); 9400225b98SGreg Roach 9500225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 9600225b98SGreg Roach 9700225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 9800225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 9900225b98SGreg Roach 100342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 10100225b98SGreg Roach } 10200225b98SGreg Roach 10300225b98SGreg Roach /** 10415d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 10515d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 106*52348eb8SGreg Roach * 107*52348eb8SGreg Roach * @return void 10800225b98SGreg Roach */ 109c1010edaSGreg Roach public function testNoFamilyFactsFemale() 110c1010edaSGreg Roach { 11100225b98SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 11200225b98SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 1132a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([]); 11400225b98SGreg Roach 11500225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 11613abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 1172a6fda60SGreg Roach $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('1800')); 1182a6fda60SGreg Roach $individual->shouldReceive('getSex')->andReturn('F'); 11900225b98SGreg Roach 12000225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 12100225b98SGreg Roach 12200225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 12300225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 12400225b98SGreg Roach 125342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 12600225b98SGreg Roach } 12700225b98SGreg Roach 12800225b98SGreg Roach /** 12915d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 13015d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 131*52348eb8SGreg Roach * 132*52348eb8SGreg Roach * @return void 13300225b98SGreg Roach */ 134c1010edaSGreg Roach public function testSpouseDeadMale() 135c1010edaSGreg Roach { 1362a6fda60SGreg Roach $fact = Mockery::mock('Fisharebest\Webtrees\Fact'); 1372a6fda60SGreg Roach 138e76c0cf0SGreg Roach $spouse = Mockery::mock('Fisharebest\Webtrees\Individual'); 139e76c0cf0SGreg Roach $spouse->shouldReceive('getDeathDate')->andReturn(new Date('1820')); 140e76c0cf0SGreg Roach 141e76c0cf0SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 142e76c0cf0SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 1432a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([$fact]); 1442a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('DIV')->andReturn([]); 145e76c0cf0SGreg Roach $family->shouldReceive('getSpouse')->andReturn($spouse); 146e76c0cf0SGreg Roach 147e76c0cf0SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 148e76c0cf0SGreg Roach $individual->shouldReceive('getSex')->andReturn('M'); 14913abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 150e76c0cf0SGreg Roach 151e76c0cf0SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 152e76c0cf0SGreg Roach 153e76c0cf0SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 154e76c0cf0SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 155e76c0cf0SGreg Roach 156342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 157e76c0cf0SGreg Roach } 158e76c0cf0SGreg Roach 159e76c0cf0SGreg Roach /** 16015d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 16115d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 162*52348eb8SGreg Roach * 163*52348eb8SGreg Roach * @return void 164e76c0cf0SGreg Roach */ 165c1010edaSGreg Roach public function testSpouseDeadFemale() 166c1010edaSGreg Roach { 1672a6fda60SGreg Roach $fact = Mockery::mock('Fisharebest\Webtrees\Fact'); 1682a6fda60SGreg Roach 169e76c0cf0SGreg Roach $spouse = Mockery::mock('Fisharebest\Webtrees\Individual'); 170e76c0cf0SGreg Roach $spouse->shouldReceive('getDeathDate')->andReturn(new Date('1820')); 171e76c0cf0SGreg Roach 172e76c0cf0SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 173e76c0cf0SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 1742a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([$fact]); 1752a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('DIV')->andReturn([]); 176e76c0cf0SGreg Roach $family->shouldReceive('getSpouse')->andReturn($spouse); 177e76c0cf0SGreg Roach 178e76c0cf0SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 179e76c0cf0SGreg Roach $individual->shouldReceive('getSex')->andReturn('F'); 18013abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 181e76c0cf0SGreg Roach 182e76c0cf0SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 183e76c0cf0SGreg Roach 184e76c0cf0SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 185e76c0cf0SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 186e76c0cf0SGreg Roach 187342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 188e76c0cf0SGreg Roach } 189e76c0cf0SGreg Roach 190e76c0cf0SGreg Roach /** 19115d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 19215d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 193*52348eb8SGreg Roach * 194*52348eb8SGreg Roach * @return void 195e76c0cf0SGreg Roach */ 196c1010edaSGreg Roach public function testNoFamilyUnmarriedMale() 197c1010edaSGreg Roach { 19800225b98SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 19900225b98SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 2002a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([]); 20100225b98SGreg Roach 20200225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 20300225b98SGreg Roach $individual->shouldReceive('getSex')->andReturn('M'); 20413abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 20500225b98SGreg Roach $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('1800')); 20600225b98SGreg Roach 20700225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 20800225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 20900225b98SGreg Roach 21000225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 21100225b98SGreg Roach 212342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 21300225b98SGreg Roach } 21400225b98SGreg Roach 21500225b98SGreg Roach /** 21615d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 21715d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 218*52348eb8SGreg Roach * 219*52348eb8SGreg Roach * @return void 22000225b98SGreg Roach */ 221c1010edaSGreg Roach public function testNoFamilyUnmarriedFemale() 222c1010edaSGreg Roach { 22300225b98SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 22400225b98SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 2252a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([]); 22600225b98SGreg Roach 22700225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 22800225b98SGreg Roach $individual->shouldReceive('getSex')->andReturn('F'); 22913abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 23000225b98SGreg Roach $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('1800')); 23100225b98SGreg Roach 23200225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 23300225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 23400225b98SGreg Roach 23500225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 23600225b98SGreg Roach 237342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 23800225b98SGreg Roach } 23900225b98SGreg Roach 24000225b98SGreg Roach /** 24115d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 24215d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 243*52348eb8SGreg Roach * 244*52348eb8SGreg Roach * @return void 24500225b98SGreg Roach */ 246c1010edaSGreg Roach public function testChildMale() 247c1010edaSGreg Roach { 24800225b98SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 24900225b98SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 2502a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([]); 25100225b98SGreg Roach 25200225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 25300225b98SGreg Roach $individual->shouldReceive('getSex')->andReturn('M'); 25413abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 25500225b98SGreg Roach $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('1820')); 25600225b98SGreg Roach 25700225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 25800225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 25900225b98SGreg Roach 26000225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 26100225b98SGreg Roach 262342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 26300225b98SGreg Roach } 26400225b98SGreg Roach 26500225b98SGreg Roach /** 26615d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 26715d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 268*52348eb8SGreg Roach * 269*52348eb8SGreg Roach * @return void 27000225b98SGreg Roach */ 271c1010edaSGreg Roach public function testChildFemale() 272c1010edaSGreg Roach { 27300225b98SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 27400225b98SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 2752a6fda60SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([]); 27600225b98SGreg Roach 27700225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 27800225b98SGreg Roach $individual->shouldReceive('getSex')->andReturn('F'); 27913abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 28000225b98SGreg Roach $individual->shouldReceive('getEstimatedBirthDate')->andReturn(new Date('1820')); 28100225b98SGreg Roach 28200225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 28300225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 28400225b98SGreg Roach 28500225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 28600225b98SGreg Roach 287342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 28800225b98SGreg Roach } 28900225b98SGreg Roach 29000225b98SGreg Roach /** 29115d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 29215d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 293*52348eb8SGreg Roach * 294*52348eb8SGreg Roach * @return void 29500225b98SGreg Roach */ 296c1010edaSGreg Roach public function testDivorcedMale() 297c1010edaSGreg Roach { 29800225b98SGreg Roach $fact = Mockery::mock('Fisharebest\Webtrees\Fact'); 29900225b98SGreg Roach 30000225b98SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 30100225b98SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 3020b4be234SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([$fact]); 30313abd6f3SGreg Roach $family->shouldReceive('getFacts')->with('DIV')->andReturn([$fact]); 30400225b98SGreg Roach 30500225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 30600225b98SGreg Roach $individual->shouldReceive('getSex')->andReturn('M'); 30713abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 30800225b98SGreg Roach 30900225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 31000225b98SGreg Roach 31100225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 31200225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 31300225b98SGreg Roach 314342dcecdSGreg Roach $this->assertSame('', $column->generate($individual, $individual)); 31500225b98SGreg Roach } 31600225b98SGreg Roach 31700225b98SGreg Roach /** 31815d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\CensusColumnConditionFrenchFemme 31915d603e7SGreg Roach * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumnCondition 320*52348eb8SGreg Roach * 321*52348eb8SGreg Roach * @return void 32200225b98SGreg Roach */ 323c1010edaSGreg Roach public function testDivorcedFemale() 324c1010edaSGreg Roach { 32500225b98SGreg Roach $fact = Mockery::mock('Fisharebest\Webtrees\Fact'); 32600225b98SGreg Roach 32700225b98SGreg Roach $family = Mockery::mock('Fisharebest\Webtrees\Family'); 32800225b98SGreg Roach $family->shouldReceive('getMarriageDate')->andReturn(new Date('')); 3290b4be234SGreg Roach $family->shouldReceive('getFacts')->with('MARR')->andReturn([$fact]); 33013abd6f3SGreg Roach $family->shouldReceive('getFacts')->with('DIV')->andReturn([$fact]); 33100225b98SGreg Roach 33200225b98SGreg Roach $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); 33300225b98SGreg Roach $individual->shouldReceive('getSex')->andReturn('F'); 33413abd6f3SGreg Roach $individual->shouldReceive('getSpouseFamilies')->andReturn([$family]); 33500225b98SGreg Roach 33600225b98SGreg Roach $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); 33700225b98SGreg Roach 33800225b98SGreg Roach $column = new CensusColumnConditionFrenchFemme($census, '', ''); 33900225b98SGreg Roach $census->shouldReceive('censusDate')->andReturn('30 JUN 1830'); 34000225b98SGreg Roach 341342dcecdSGreg Roach $this->assertSame('1', $column->generate($individual, $individual)); 34200225b98SGreg Roach } 34300225b98SGreg Roach} 344