89 - ConcreteFactory changed to SimpleFactory

This commit is contained in:
Andrew Nester
2016-01-16 17:20:13 +03:00
parent 4904def390
commit a2c70a0edb
10 changed files with 24 additions and 24 deletions

View File

@@ -2,7 +2,7 @@
namespace DesignPatterns\Creational\SimpleFactory\Tests;
use DesignPatterns\Creational\SimpleFactory\ConcreteFactory;
use DesignPatterns\Creational\SimpleFactory\SimpleFactory;
/**
* SimpleFactoryTest tests the Simple Factory pattern.
@@ -13,7 +13,7 @@ class SimpleFactoryTest extends \PHPUnit_Framework_TestCase
protected function setUp()
{
$this->factory = new ConcreteFactory();
$this->factory = new SimpleFactory();
}
public function getType()