protected $mockParser;
/**
* {@inheritdoc}
*/
protected function setUp(): void
{ parent::
setUp();
$this->mockParser =
$this->
getMockBuilder('\stdClass'
) ->
addMethods(['encode', 'decode', 'getFileExtension'
]) ->
getMock();
YamlParserProxy::
setMock($this->mockParser
);
} /**
* {@inheritdoc}
*/
protected function tearDown(): void
{ YamlParserProxy::
setMock(NULL
);
parent::
tearDown();
} /**
* @covers ::decode
*/