Validation PSR2

This commit is contained in:
jcherqui
2014-11-05 10:24:19 +01:00
parent 37cdbd6c23
commit d5b96d139f
7 changed files with 103 additions and 40 deletions

View File

@@ -4,14 +4,8 @@ namespace DesignPatterns\Creational\Pool\Tests;
use DesignPatterns\Creational\Pool\Pool;
class TestWorker
{
public $id = 1;
}
class PoolTest extends \PHPUnit_Framework_TestCase
{
public function testPool()
{
$pool = new Pool('DesignPatterns\Creational\Pool\Tests\TestWorker');