Move RandomGeneratorInterface and RandomGeneratorFactory to Generator NS

This commit is contained in:
Ben Ramsey
2015-07-16 09:54:04 -05:00
parent e006f669ad
commit b3ef99a2e9
10 changed files with 9 additions and 13 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ namespace Ramsey\Uuid;
use Ramsey\Uuid\Provider\Time\SystemTimeProvider;
use Ramsey\Uuid\Provider\Time\FixedTimeProvider;
use Ramsey\Uuid\Generator\CombGenerator;
use Ramsey\Uuid\Generator\RandomGeneratorFactory;
class UuidTest extends TestCase
{
@@ -792,7 +793,7 @@ class UuidTest extends TestCase
*/
public function testUuid4Comb()
{
$mock = $this->getMock('Ramsey\Uuid\RandomGeneratorInterface');
$mock = $this->getMock('Ramsey\Uuid\Generator\RandomGeneratorInterface');
$mock->expects($this->any())
->method('generate')
->willReturnCallback(function ($length)