mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-25 18:53:25 +02:00
Fix typo: implemenation > implementation
This commit is contained in:
@ -14,7 +14,7 @@ class BridgeTest extends TestCase
|
|||||||
$service = new HelloWorldService(new PlainTextFormatter());
|
$service = new HelloWorldService(new PlainTextFormatter());
|
||||||
$this->assertEquals('Hello World', $service->get());
|
$this->assertEquals('Hello World', $service->get());
|
||||||
|
|
||||||
// now change the implemenation and use the HtmlFormatter instead
|
// now change the implementation and use the HtmlFormatter instead
|
||||||
$service->setImplementation(new HtmlFormatter());
|
$service->setImplementation(new HtmlFormatter());
|
||||||
$this->assertEquals('<p>Hello World</p>', $service->get());
|
$this->assertEquals('<p>Hello World</p>', $service->get());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user