Lines Matching refs:method

37         $individual->method('sex')->willReturn('M');
38 $individual->method('spouseFamilies')->willReturn(new Collection());
39 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
42 $census->method('censusDate')->willReturn('30 JUN 1830');
52 $individual->method('sex')->willReturn('F');
53 $individual->method('spouseFamilies')->willReturn(new Collection());
54 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
57 $census->method('censusDate')->willReturn('30 JUN 1830');
67 $family->method('getMarriageDate')->willReturn(new Date(''));
68 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
71 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
72 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
73 $individual->method('sex')->willReturn('M');
78 $census->method('censusDate')->willReturn('30 JUN 1830');
86 $family->method('getMarriageDate')->willReturn(new Date(''));
87 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
90 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
91 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
92 $individual->method('sex')->willReturn('F');
97 $census->method('censusDate')->willReturn('30 JUN 1830');
107 $spouse->method('getDeathDate')->willReturn(new Date('1820'));
112 ->method('facts')
118 $family->expects($this->once())->method('spouse')->willReturn($spouse);
121 $individual->method('sex')->willReturn('M');
122 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
127 $census->method('censusDate')->willReturn('30 JUN 1830');
137 $spouse->method('getDeathDate')->willReturn(new Date('1820'));
142 ->method('facts')
148 $family->expects($this->once())->method('spouse')->willReturn($spouse);
151 $individual->method('sex')->willReturn('F');
152 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
157 $census->method('censusDate')->willReturn('30 JUN 1830');
165 $family->method('getMarriageDate')->willReturn(new Date(''));
166 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
169 $individual->method('sex')->willReturn('M');
170 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
171 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
174 $census->method('censusDate')->willReturn('30 JUN 1830');
184 $family->method('getMarriageDate')->willReturn(new Date(''));
185 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
188 $individual->method('sex')->willReturn('F');
189 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
190 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1800'));
193 $census->method('censusDate')->willReturn('30 JUN 1830');
203 $family->method('getMarriageDate')->willReturn(new Date(''));
204 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
207 $individual->method('sex')->willReturn('M');
208 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
209 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1820'));
212 $census->method('censusDate')->willReturn('30 JUN 1830');
222 $family->method('getMarriageDate')->willReturn(new Date(''));
223 $family->method('facts')->with(['MARR'])->willReturn(new Collection());
226 $individual->method('sex')->willReturn('F');
227 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
228 $individual->method('getEstimatedBirthDate')->willReturn(new Date('1820'));
231 $census->method('censusDate')->willReturn('30 JUN 1830');
245 ->method('facts')
253 $individual->method('sex')->willReturn('M');
254 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
259 $census->method('censusDate')->willReturn('30 JUN 1830');
271 ->method('facts')
279 $individual->method('sex')->willReturn('F');
280 $individual->method('spouseFamilies')->willReturn(new Collection([$family]));
285 $census->method('censusDate')->willReturn('30 JUN 1830');