public denormalize ( Nelmio\Alice\FixtureInterface $scope, Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface $parser, array $unparsedSpecs ) : |
||
$scope | Nelmio\Alice\FixtureInterface | |
$parser | Nelmio\Alice\FixtureBuilder\Denormalizer\FlagParserInterface | |
$unparsedSpecs | array | |
return |
/** * @expectedException \TypeError * @expectedExceptionMessage Expected method call value to be an array, got "NULL" instead. */ public function testDenormalizeWithInvalidMethodCalls() { $specs = ['__calls' => [null]]; $denormalizer = new SimpleSpecificationsDenormalizer(new FakeConstructorDenormalizer(), new FakePropertyDenormalizer(), new FakeCallsDenormalizer()); $denormalizer->denormalize(new FakeFixture(), new FakeFlagParser(), $specs); }