private function denormalizeCallMethod(CallsDenormalizerInterface $callsDenormalizer, $methodCall, FixtureInterface $scope, FlagParserInterface $parser) : MethodCallInterface
{
if (false === is_array($methodCall)) {
throw TypeErrorFactory::createForInvalidSpecificationBagMethodCall($methodCall);
}
$unparsedMethod = key($methodCall);
if (false === is_string($unparsedMethod)) {
throw TypeErrorFactory::createForInvalidSpecificationBagMethodCallName($unparsedMethod);
}
return $callsDenormalizer->denormalize($scope, $parser, $unparsedMethod, $methodCall[$unparsedMethod]);
}