Adapt Unit Tests code to PHPUnit 6

This commit is contained in:
Fabri Di Napoli
2017-03-09 00:35:08 +01:00
parent 16856fe6b6
commit 5df6eec070
37 changed files with 73 additions and 37 deletions

View File

@@ -3,8 +3,9 @@
namespace DesignPatterns\Structural\Flyweight\Tests;
use DesignPatterns\Structural\Flyweight\FlyweightFactory;
use PHPUnit\Framework\TestCase;
class FlyweightTest extends \PHPUnit_Framework_TestCase
class FlyweightTest extends TestCase
{
private $characters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k',
'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];