Changes all usage in Tests of getMock with getMockBuilder.

This commit is contained in:
Ben Peachey
2017-10-17 12:46:25 +02:00
parent 0ef23d1b10
commit dbb9a8b6d1
13 changed files with 49 additions and 49 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ class OrderedTimeCodecTest extends TestCase
protected function setUp()
{
parent::setUp();
$this->builder = $this->getMock('Ramsey\Uuid\Builder\UuidBuilderInterface');
$this->uuid = $this->getMock('Ramsey\Uuid\UuidInterface');
$this->builder = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock();
$this->uuid = $this->getMockBuilder('Ramsey\Uuid\UuidInterface')->getMock();
$this->fields = ['time_low' => '58e0a7d7',
'time_mid' => 'eebc',
'time_hi_and_version' => '11d8',