comment and typo

This commit is contained in:
Trismegiste 2013-05-11 00:28:22 +02:00
parent eebdbc1dc5
commit 153445b5d0

View File

@ -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
*/
}
}