summaryrefslogtreecommitdiff
path: root/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/SurnameTradition/SpanishSurnameTraditionTest.php')
-rw-r--r--tests/app/SurnameTradition/SpanishSurnameTraditionTest.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php b/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
index 50f7c19623..ee9e9ac982 100644
--- a/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
+++ b/tests/app/SurnameTradition/SpanishSurnameTraditionTest.php
@@ -37,16 +37,16 @@ class SpanishSurnameTraditionTest extends TestCase
public function testNewChildNames(): void
{
- $father_fact = $this->createStub(Fact::class);
+ $father_fact = self::createStub(Fact::class);
$father_fact->method('value')->willReturn('Gabriel /Garcia/ /Iglesias/');
- $father = $this->createStub(Individual::class);
+ $father = self::createStub(Individual::class);
$father->method('facts')->willReturn(new Collection([$father_fact]));
- $mother_fact = $this->createStub(Fact::class);
+ $mother_fact = self::createStub(Fact::class);
$mother_fact->method('value')->willReturn('Gabriel /Ruiz/ /Lorca/');
- $mother = $this->createStub(Individual::class);
+ $mother = self::createStub(Individual::class);
$mother->method('facts')->willReturn(new Collection([$mother_fact]));
self::assertSame(
@@ -75,16 +75,16 @@ class SpanishSurnameTraditionTest extends TestCase
public function testNewChildNamesCompound(): void
{
- $father_fact = $this->createStub(Fact::class);
+ $father_fact = self::createStub(Fact::class);
$father_fact->method('value')->willReturn('Gabriel /Garcia/ y /Iglesias/');
- $father = $this->createStub(Individual::class);
+ $father = self::createStub(Individual::class);
$father->method('facts')->willReturn(new Collection([$father_fact]));
- $mother_fact = $this->createStub(Fact::class);
+ $mother_fact = self::createStub(Fact::class);
$mother_fact->method('value')->willReturn('Gabriel /Ruiz/ y /Lorca/');
- $mother = $this->createStub(Individual::class);
+ $mother = self::createStub(Individual::class);
$mother->method('facts')->willReturn(new Collection([$mother_fact]));
self::assertSame(
@@ -95,10 +95,10 @@ class SpanishSurnameTraditionTest extends TestCase
public function testNewParentNames(): void
{
- $fact = $this->createStub(Fact::class);
+ $fact = self::createStub(Fact::class);
$fact->method('value')->willReturn('Gabriel /Garcia/ /Iglesias/');
- $individual = $this->createStub(Individual::class);
+ $individual = self::createStub(Individual::class);
$individual->method('facts')->willReturn(new Collection([$fact]));
self::assertSame(
@@ -119,10 +119,10 @@ class SpanishSurnameTraditionTest extends TestCase
public function testNewSpouseNames(): void
{
- $fact = $this->createStub(Fact::class);
+ $fact = self::createStub(Fact::class);
$fact->method('value')->willReturn('Gabriel /Garcia/ /Iglesias/');
- $individual = $this->createStub(Individual::class);
+ $individual = self::createStub(Individual::class);
$individual->method('facts')->willReturn(new Collection([$fact]));
self::assertSame(