From c821d75d75b6abad8be1a3926f68715bd8ec4e6a Mon Sep 17 00:00:00 2001 From: Dmitriy Efremov Date: Wed, 1 Nov 2017 18:40:11 +0700 Subject: [PATCH] renamed alias to named [service] --- tests/src/Container/ConstructorTest.php | 2 +- tests/src/Container/DependencyTest.php | 2 +- tests/src/Container/ScalarTest.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/src/Container/ConstructorTest.php b/tests/src/Container/ConstructorTest.php index 9bb0b8f..263befe 100644 --- a/tests/src/Container/ConstructorTest.php +++ b/tests/src/Container/ConstructorTest.php @@ -41,7 +41,7 @@ public function testClass() $this->assertInstanceOf(Foo::class, $entry->getFoo()); } - public function testAlias() + public function testNamedService() { // arrange $container = new Container([ diff --git a/tests/src/Container/DependencyTest.php b/tests/src/Container/DependencyTest.php index 49b5c91..b51b991 100644 --- a/tests/src/Container/DependencyTest.php +++ b/tests/src/Container/DependencyTest.php @@ -26,7 +26,7 @@ public function testClassDependency() $this->assertNull($entry->getFoo()); } - public function testAliasDependency() + public function testNamedDependency() { // arrange $container = new Container([ diff --git a/tests/src/Container/ScalarTest.php b/tests/src/Container/ScalarTest.php index 111a17c..6f117fb 100644 --- a/tests/src/Container/ScalarTest.php +++ b/tests/src/Container/ScalarTest.php @@ -56,7 +56,7 @@ public function testMixedWithService() $this->assertInstanceOf(Foo::class, $entry->getValue()); } - public function testMixedWithAlias() + public function testMixedWithNamesService() { $container = new Container([ 'foo' => [ @@ -102,7 +102,7 @@ public function testStringWithService() $this->assertEquals(Foo::class, $entry->getValue()); } - public function testStringWithAlias() + public function testStringWithNamesService() { $container = new Container([ 'foo' => [