Lines Matching refs:individual
36 $individual = $this->createMock(Individual::class);
37 $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
46 self::assertSame('S', $column->generate($individual, $individual));
51 $individual = $this->createMock(Individual::class);
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
61 self::assertSame('S', $column->generate($individual, $individual));
70 $individual = $this->createMock(Individual::class);
71 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
72 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
73 $individual->method('sex')->willReturn('M');
80 self::assertSame('S', $column->generate($individual, $individual));
89 $individual = $this->createMock(Individual::class);
90 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
91 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
92 $individual->method('sex')->willReturn('F');
99 self::assertSame('S', $column->generate($individual, $individual));
120 $individual = $this->createMock(Individual::class);
121 $individual->method('sex')->willReturn('M');
122 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
129 self::assertSame('', $column->generate($individual, $individual));
151 $individual = $this->createMock(Individual::class);
152 $individual->method('sex')->willReturn('F');
153 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
160 self::assertSame('', $column->generate($individual, $individual));
169 $individual = $this->createMock(Individual::class);
170 $individual->method('sex')->willReturn('M');
171 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
172 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
179 self::assertSame('S', $column->generate($individual, $individual));
188 $individual = $this->createMock(Individual::class);
189 $individual->method('sex')->willReturn('F');
190 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
191 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
198 self::assertSame('S', $column->generate($individual, $individual));
207 $individual = $this->createMock(Individual::class);
208 $individual->method('sex')->willReturn('M');
209 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
210 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1820'));
217 self::assertSame('S', $column->generate($individual, $individual));
226 $individual = $this->createMock(Individual::class);
227 $individual->method('sex')->willReturn('F');
228 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
229 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1820'));
236 self::assertSame('S', $column->generate($individual, $individual));
254 $individual = $this->createMock(Individual::class);
255 $individual->method('sex')->willReturn('M');
256 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
263 self::assertSame('', $column->generate($individual, $individual));
281 $individual = $this->createMock(Individual::class);
282 $individual->method('sex')->willReturn('F');
283 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
290 self::assertSame('', $column->generate($individual, $individual));
308 $individual = $this->createMock(Individual::class);
309 $individual->method('sex')->willReturn('M');
310 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
317 self::assertSame('M', $column->generate($individual, $individual));
335 $individual = $this->createMock(Individual::class);
336 $individual->method('sex')->willReturn('F');
337 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
344 self::assertSame('M', $column->generate($individual, $individual));