From 153445b5d044761e211f017649168b6a95c2b6b0 Mon Sep 17 00:00:00 2001 From: Trismegiste Date: Sat, 11 May 2013 00:28:22 +0200 Subject: [PATCH] comment and typo --- Tests/AbstractFactory/AbstractFactoryTest.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Tests/AbstractFactory/AbstractFactoryTest.php b/Tests/AbstractFactory/AbstractFactoryTest.php index 8de7914..81d0401 100644 --- a/Tests/AbstractFactory/AbstractFactoryTest.php +++ b/Tests/AbstractFactory/AbstractFactoryTest.php @@ -26,8 +26,8 @@ class AbstractFactoryTest extends \PHPUnit_Framework_TestCase /** * This is the client of factories. Note that the client does not - * care which fatory is given to him, it can create any component he - * want and render how he wants. + * care which factory is given to him, he can create any component he + * wants and render how he wants. * * @dataProvider getFactories */ @@ -40,6 +40,11 @@ class AbstractFactoryTest extends \PHPUnit_Framework_TestCase ); $this->assertContainsOnly('DesignPatterns\AbstractFactory\Media', $article); + /* this is the time to look at the Builder pattern. This pattern + * helps you to create complex object like that article above with + * a given Abstract Factory + */ + } } \ No newline at end of file