Lines Matching refs:individual
33 $individual = $this->createMock(Individual::class);
34 $individual->method('sex')->willReturn('M');
35 $individual->method('getEstimatedBirthDate')->willReturn(new Date('01 JAN 1800'));
42 self::assertSame('30', $column->generate($individual, $individual));
47 $individual = $this->createMock(Individual::class);
48 $individual->method('sex')->willReturn('F');
54 self::assertSame('', $column->generate($individual, $individual));
59 $individual = $this->createMock(Individual::class);
60 $individual->method('sex')->willReturn('U');
61 $individual->method('getEstimatedBirthDate')->willReturn(new Date('01 JAN 1800'));
68 self::assertSame('30', $column->generate($individual, $individual));
73 $individual = $this->createMock(Individual::class);
74 $individual->method('sex')->willReturn('M');
75 $individual->method('getEstimatedBirthDate')->willReturn(new Date('01 JAN 1800'));
82 self::assertSame('0', $column->generate($individual, $individual));
87 $individual = $this->createMock(Individual::class);
88 $individual->method('sex')->willReturn('M');
89 $individual->method('getEstimatedBirthDate')->willReturn(new Date('01 JAN 1800'));
96 self::assertSame('14', $column->generate($individual, $individual));
101 $individual = $this->createMock(Individual::class);
102 $individual->method('sex')->willReturn('M');
103 $individual->method('getEstimatedBirthDate')->willReturn(new Date('01 JAN 1800'));
110 self::assertSame('40', $column->generate($individual, $individual));