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('', $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('1', $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('', $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('1', $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));
150 $individual = $this->createMock(Individual::class);
151 $individual->method('sex')->willReturn('F');
152 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
159 self::assertSame('', $column->generate($individual, $individual));
168 $individual = $this->createMock(Individual::class);
169 $individual->method('sex')->willReturn('M');
170 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
171 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
178 self::assertSame('', $column->generate($individual, $individual));
187 $individual = $this->createMock(Individual::class);
188 $individual->method('sex')->willReturn('F');
189 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
190 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
197 self::assertSame('1', $column->generate($individual, $individual));
206 $individual = $this->createMock(Individual::class);
207 $individual->method('sex')->willReturn('M');
208 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
209 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1820'));
216 self::assertSame('', $column->generate($individual, $individual));
225 $individual = $this->createMock(Individual::class);
226 $individual->method('sex')->willReturn('F');
227 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
228 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1820'));
235 self::assertSame('1', $column->generate($individual, $individual));
252 $individual = $this->createMock(Individual::class);
253 $individual->method('sex')->willReturn('M');
254 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
261 self::assertSame('', $column->generate($individual, $individual));
278 $individual = $this->createMock(Individual::class);
279 $individual->method('sex')->willReturn('F');
280 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
287 self::assertSame('', $column->generate($individual, $individual));