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
@@ -25,8 +25,8 @@ class GuidStringCodecTest 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' => '12345678',
'time_mid' => '1234',
'time_hi_and_version' => 'abcd',