$expectation
$expectation
\Mockery\Matcher\MustBe
new \Mockery\Matcher\MustBe($expected)
\Mockery::builtInTypes()
is_null(self::$_config)
is_null(self::$_generator)
is_null(self::$_loader)
$newMockName
$mock
$argument
$method
$n
$nesting
$object
function ($method) use ($add) {
function ($n) use ($mock) {
function ($object, $nesting) {
$fqn
$fqn
$fqn
$reference
$type
declareClass
declareInterface
declareType
registerFileForCleanUp
setGenerator
setLoader
$expectations
$fileName
$formatter($object, $nesting)
$fqn
$fqn
$n
$nesting
$object
$formattedArguments
$k
$arg
$argument
$argument[$key]
$cleanedProperties[$name]
$expectations
$expectations
$fileName
$formattedArguments[]
$formatter
$mock
$mock
$name
$reference
$shortName
$v
$value
$value
$value
$formatter($object, $nesting)
\Mockery\ExpectationInterface
\Mockery\MockInterface|\Mockery\LegacyMockInterface
\Mockery\MockInterface|\Mockery\LegacyMockInterface
\Mockery\MockInterface|\Mockery\LegacyMockInterface
\Mockery\MockInterface|\Mockery\LegacyMockInterface
mockery_getExpectationsFor
shouldIgnoreMissing
shouldReceive
$name]]>
$expectations
$expectations
shouldIgnoreMissing()]]>
\Mockery\Mock
null
andAnyOtherArgs
andAnyOthers
any
anyOf
capture
contains
ducktype
globalHelpers
hasKey
hasValue
instanceMock
isBuiltInType
mustBe
not
notAnyOf
on
pattern
resetContainer
setContainer
setGenerator
setLoader
subset
type
\Mockery\MockInterface|\Mockery\LegacyMockInterface
$parentMock !== null
Mockery\Container
require $tmpfname
$parRefMethod
$parRefMethodRetType
addToAssertionCount
$mockeryOpen
addMockeryExpectationsToAssertionCount
checkMockeryExceptions
closeMockery
mockeryAssertPostConditions
purgeMockeryContainer
startMockery
$e
dismissed
purgeMockeryContainer
startMockery
mockeryTestSetUp
mockeryTestTearDown
TestListener
TestListenerDefaultImplementation
$trait
endTest
startTestSuite
TestListener
getFileName()))]]>
Blacklist::class
new BlackList()
BaseTestRunner::STATUS_PASSED
addFailure
getTestResultObject
endTest
startTestSuite
endTest
startTestSuite
$result !== null
Blacklist::$blacklistedClassNames
Blacklist::$blacklistedClassNames
__toString
$exp
$expectation
$first
$first
$first
$first
\Mockery\Expectation
\Mockery\Expectation
\Mockery\MockInterface|\Mockery\LegacyMockInterface
int
self
getMock
getMock
getMock
getOrderNumber
getMock()]]>
getOrderNumber()]]>
getMock(), 'shouldNotReceive'), $args)]]>
getMock(), 'shouldReceive'), $args)]]>
mock
shouldNotReceive
shouldReceive
$class
$class
$class
$class
$defaultFormatter
$formatterCallback
$method
$_constantsMap
$_reflectionCacheEnabled
allowMockingMethodsUnnecessarily
allowMockingNonExistentMethods
disableReflectionCache
enableReflectionCache
getConstantsMap
getDefaultMatcher
getInternalClassMethodParamMaps
getObjectFormatter
reflectionCacheEnabled
resetInternalClassMethodParamMaps
setConstantsMap
setDefaultMatcher
setInternalClassMethodParamMap
setObjectFormatter
$class
$class
$class
$class
$method
$method
$parentClass
$parentClass
$parentClass
$parentClass
\Hamcrest_Matcher::class
_internalClassParamMap[strtolower($class)][strtolower($method)]]]>
_internalClassParamMap[strtolower($class)][strtolower($method)]]]>
_defaultMatchers[$type]]]>
_objectFormatters[$class]]]>
_objectFormatters[$type]]]>
_defaultMatchers[$type]]]>
_objectFormatters[$type]]]>
$classes[]
$classes[]
$parentClass
$parentClass
$type
$type
array|null
_internalClassParamMap[strtolower($class)][strtolower($method)]]]>
$classes
$classes
allowMockingMethodsUnnecessarily
allowMockingNonExistentMethods
disableReflectionCache
enableReflectionCache
getInternalClassMethodParamMap
mockingMethodsUnnecessarilyAllowed
resetInternalClassMethodParamMaps
setConstantsMap
setDefaultMatcher
setInternalClassMethodParamMap
setObjectFormatter
(bool) $flag
(bool) $flag
\Hamcrest_Matcher
$arg instanceof MockConfigurationBuilder
is_object($arg)
is_string($arg)
$mocks[$index]
new $internalMockName()
$mock
$config
$constructorArgs
$mockName
$reference
_getInstance
checkForNamedMockClashes
getGenerator
getLoader
instanceMock
mockery_setGroup
$arg
$blocks
$constructorArgs
getClassName()]]>
getClassName()]]>
$mock
mockery_thrownExceptions()]]>
$mockName
getConstantsMap()]]>
getInternalClassMethodParamMaps()]]>
$keys
_groups[$group]]]>
_mocks[$reference]]]>
_namedMocks[$name]]]>
_namedMocks[$name]]]>
$blocks
$config
$count
$def
$hash
$instance
$mock
$mock
$mock
$mock
$mock
$name
\Mockery\Mock
\Mockery\Mock
int
atLeast
byDefault
generate
getClassName
getClassName
getClassName
getClassName
getHash
getName
getTargetObject
isInstanceMock
load
mockery_getExpectationCount
mockery_init
mockery_teardown
mockery_thrownExceptions
mockery_verify
once
setActualOrder
setExpectedOrder
setMethodName
shouldReceive
shouldReceive
mockery_getExpectationCount()]]>
$mockName
$count
$mocks[$index]
_mocks[$reference]]]>
Mock
instanceMock
mockery_allocateOrder
mockery_getCurrentOrder
mockery_getGroups
mockery_setGroup
\Mockery\LegacyMockInterface|\Mockery\MockInterface
int
mockingNonExistentMethodsAllowed() && (!class_exists($type, true) && !interface_exists($type, true))]]>
mockingNonExistentMethodsAllowed() && (!class_exists($type, true) && !interface_exists($type, true))]]>
0]]>
is_array($arg)
is_object($finalArg)
$class
bool
setActualCount
setExpectedCount
setExpectedCountComparative
setMethodName
AtLeast
bool
setActualCount
setExpectedCount
setExpectedCountComparative
setMethodName
AtMost
null
null
__construct
isEligible
validate
bool
$because
setActualCount
setExpectedCount
setExpectedCountComparative
setMethodName
_expectation->getExceptionMessage()]]>
Exact
$dismissed
dismiss
dismissed
dismiss
dismissed
InvalidArgumentException
$comp
$count
$count
$name
$actual
$expected
$expectedComparative
$method
$mockObject
getActualCount
getExpectedCount
getExpectedCountComparative
getMethodName
getMock
getMockName
setActualCount
setExpectedCount
setExpectedCountComparative
setMethodName
setMock
mockery_getName
$comp
getActualCount
getExpectedCount
getExpectedCountComparative
getMethodName
getMockName
setActualCount
setExpectedCount
setExpectedCountComparative
setMethodName
$count
$count
$name
$actual
$expected
$method
$mockObject
getActualOrder
getExpectedOrder
getMethodName
getMock
getMockName
setActualOrder
setExpectedOrder
setMethodName
setMock
mockery_getName
getActualOrder
getExpectedOrder
getMethodName
getMockName
setActualOrder
setExpectedOrder
setMethodName
$count
$name
$actual
$method
$mockObject
getActualArguments
getMethodName
getMock
getMockName
setActualArguments
setMethodName
setMock
mockery_getName
getActualArguments
getMethodName
getMockName
setActualArguments
setMethodName
!is_int($index)
is_int($limit)
is_null($group)
$argsOrClosure
mixed
self
new $exception($message, $code, $previous)
_countValidatorClass($this, $limit)]]>
__toString
$args
$args
function (...$args) use ($index) {
static function () use ($args) {
$code
$exception
$expectedArg
$message
$return
andReturnFalse
andReturnTrue
andThrows
between
getExceptionMessage
getName
isAndAnyOtherArgumentsMatcher
$code
$exception
$message
$values
$values
_expectedArgs, true)]]>
$arg
$expectedArg
$groups
$lastExpectedArgument
$matcher
$newValidators[]
$result
$result
$result
$return
$validator
$validator
$validator
$value
$values
clone $validator
_closureQueue), $args)]]>
_closureQueue), $args)]]>
bool
int
self
self
isEligible
mockery_allocateOrder
mockery_allocateOrder
mockery_getGroups
mockery_setGroup
new $matcher($expected)
validate
$result
_expectedArgs, true)]]>
$group
$group
null
null
null
null
andReturnArg
andReturnFalse
andReturnNull
andReturnSelf
andReturnTrue
andReturnUndefined
andReturnUsing
andThrowExceptions
andThrows
andYield
because
between
byDefault
globally
isCallCountConstrained
isEligible
ordered
passthru
set
twice
with
withSomeOfArgs
zeroOrMoreTimes
$_returnValue
mixed
mixed
self
_expectedArgs]]>
$argsOrClosure instanceof Closure
mockery_validateOrder
\Hamcrest_Matcher
mockery_callSubjectMethod
mockery_returnValueForMethod
$args
$args
$name
addExpectation
makeExpectationDefault
$exp
$exp
$exp
$exp
$expectation
$expectation
$expectation
$expectation
$last
isCallCountConstrained
isEligible
matchArgs
matchArgs
setActualArguments
setMethodName
verify
verify
verifyCall
null
null
null
call
getExpectationCount
verify
$_expectedOrder
$expectations
andReturns
getOrderNumber
$args
$method
$cache
generate
cache[$hash]]]>
cache[$hash]]]>
$definition
$name
__toString
$interface
$method
$alias
$alias
$name
$rfc
$interface
$method
rfc->getAttributes()]]>
rfc->getInterfaces()]]>
rfc->getMethods()]]>
$child
$child
$parent
getName
getNamespaceName
getShortName
implementsInterface
inNamespace
isAbstract
isFinal
getAttributes
getInterfaces
getMethods
getNamespaceName
getParentClass
getShortName
implementsInterface
inNamespace
isAbstract
isFinal
isInternal
isInternal
name]]>
rfc->getNamespaceName()]]>
rfc->getShortName()]]>
rfc->implementsInterface($interface)]]>
rfc->inNamespace()]]>
rfc->isAbstract()]]>
rfc->isFinal()]]>
generate
$args
$method
$method
$method
$method
$className
$instanceMock
$interfaces
$mockOriginalDestructor
$name
$object
$target
$targetClassName
$targetInterface
$targetTraitName
$allMethods
$blackListedMethods
$constantsMap
$instanceMock
$mockOriginalDestructor
$name
$parameterOverrides
$targetClass
$targetClassName
$targetInterfaceNames
$targetInterfaces
$targetObject
$targetTraitNames
$targetTraits
$whiteListedMethods
addTarget
addTargetInterfaceName
addTargetTraitName
addTargets
generateName
getAllMethods
getBlackListedMethods
getConstantsMap
getMethodsToMock
getName
getNamespaceName
getParameterOverrides
getShortName
getTargetClass
getTargetClassName
getTargetInterfaces
getTargetObject
getTargetTraits
getWhiteListedMethods
isInstanceMock
isMockOriginalDestructor
rename
requiresCallStaticTypeHintRemoval
requiresCallTypeHintRemoval
setTargetClassName
setTargetObject
$alias
getMethods()]]>
$className
$className
getName()]]>
getName()]]>
$methods
$methods
$methods
$methods
$names
$target
$target
$target
$targetInterface
$targetInterface
$targetTrait
blackListedMethods]]>
constantsMap]]>
getBlackListedMethods()]]>
getBlackListedMethods()]]>
getBlackListedMethods()]]>
getName()]]>
getName()]]>
getTargetObject()]]>
getWhiteListedMethods()]]>
getWhiteListedMethods()]]>
getWhiteListedMethods()]]>
parameterOverrides]]>
targetClassName]]>
targetClassName]]>
targetInterfaceNames]]>
targetInterfaces]]>
targetTraitNames]]>
targetTraits]]>
whiteListedMethods]]>
$interface
$interface
$interface
$interface
$methods[$key]
$params[1]
$params[1]
$target[0]
getBlackListedMethods()]]>
getWhiteListedMethods()]]>
$classes[]
$names[]
targetInterfaceNames[]]]>
targetInterfaces[]]]>
targetInterfaces[]]]>
targetInterfaces[]]]>
targetInterfaces[]]]>
targetInterfaces[]]]>
targetTraitNames[]]]>
targetTraits[]]]>
$methods[$key]
$alias
$class
$className
$classes
$classes[]
$interface
$key
$method
$method
$method
$method
$methods
$methods[]
$names[]
$params
$params
$targetInterface
$targetTrait
$targets[]
$targets[]
$trait
addPart
build
getMethods
getMethods
getName
getName
getName
getName
getName
getName
getName
getName
getName
getParameters
getParameters
hasInternalAncestor
implementsInterface
isAbstract
isAbstract
isArray
isArray
isFinal
$target
getParameterOverrides
$blackListedMethod
$instanceMock
$mockDestructor
$name
$target
$targets
$whiteListedMethod
$blackListedMethods
$constantsMap
$instanceMock
$mockOriginalDestructor
$name
$parameterOverrides
$php7SemiReservedKeywords
$targets
$whiteListedMethods
addBlackListedMethod
addBlackListedMethods
addTarget
addTargets
addWhiteListedMethod
addWhiteListedMethods
getMockConfiguration
setBlackListedMethods
setConstantsMap
setInstanceMock
setMockOriginalDestructor
setName
setParameterOverrides
setWhiteListedMethods
blackListedMethods]]>
blackListedMethods]]>
constantsMap]]>
parameterOverrides]]>
php7SemiReservedKeywords]]>
targets]]>
whiteListedMethods]]>
blackListedMethods[]]]>
targets[]]]>
whiteListedMethods[]]]>
$method
$method
$target
addWhiteListedMethods
setBlackListedMethods
setWhiteListedMethods
$code
$code
$config
getClassName
getCode
getConfig
getName
getConfig
$part
$mockCounter
$parts
addPart
build
$part
$parts
parts[]]]>
$part
static::$mockCounter
static::$mockCounter
\class_exists($typeHint) ? DefinedTargetClass::factory($typeHint, false) : null
\ReflectionClass|null
$method
$typeHint
getClass
getTypeHintAsString
isArray
$method
function ($method) {
$code
apply
$code
getMethodsToMock()]]>
getName
$code
apply
$code
$code
$code
apply
$code
$class
getAttributes
$code
apply
$code
$namespace
$className
$namespace
$className
$code
apply
$code
getName()]]>
$target
getName
isFinal
$code
apply
$code
$code
$constant
getName()]]]>
getName()]]]>
getName()]]]>
$cm
$cm
$constant
$value
$i
$class
$code
$code
appendToClass
apply
$class
$class
$code
$code
$lastBrace
apply
$code
apply
$code
getName()]]>
getName()]]>
$i
getName
getName
$code
$code
$code
$code
$code
$code
string
renderTypeHint
getTargetClass()]]>
$interface
$method
getName()]]>
getName()]]>
getName()]]>
$interface
$method
$name
getName()]]>
$name
renderTypeHint($parameter)]]>
$param
$param
getName
isPassedByReference
$class
$code
$code
$config
$config
$method
appendToClass
apply
renderMethodBody
renderParams
renderReturnType
renderTypeHint
$class
$class
getName()]]>
getName()]]>
getName()]]>
$method
getParameters()]]>
getName()]]]>
getName())][$method->getName()]]]>
$param
$overrides[$class_name]
getName()]]]>
getName())]]]>
getName())][$method->getName()]]]>
getName()]]]>
getName()]]]>
getName())][$method->getName()]]]>
getName())][$method->getName()]]]>
$class
$class
$code
$defaultValue
$method
$overrides
$overrides
$paramDef
getDeclaringClass
getName
getName
getName
getName
getName
getName
getParameterOverrides
getParameterOverrides
getParameters
getReturnType
isInternal
isProtected
isPublic
isStatic
isStatic
returnsReference
$code
getName()]]>
$paramDef
renderMethodBody($method, $config)]]>
renderParams($method, $config)]]>
renderReturnType($method)]]>
$lastBrace
$code
apply
apply
$code
$methods
apply
$code
methods[$method->getName()]]]>
methods[$method->getName()]]]>
methods[$method->getName()]]]>
methods[$method->getName()]]]>
$method
$target
getMethods
getName
getName
isFinal
apply
$code
apply
$code
$target
apply
$class
$code
$code
appendToClass
apply
$class
$class
$code
$target
hasInternalAncestor
implementsInterface
$code
$lastBrace
apply
$trait
$code
apply
$code
getName()]]>
$traits
$traits
getName
addPass
generate
$namedConfig
$className
$code
$namedConfig
$pass
apply
addPass
new static([
new CallTypeHintPass(),
new MagicMethodTypeHintsPass(),
new ClassPass(),
new TraitPass(),
new ClassNamePass(),
new InstanceMockPass(),
new InterfacePass(),
new AvoidMethodClashPass(),
new MethodDefinitionPass(),
new RemoveUnserializeForInternalSerializableClassesPass(),
new RemoveBuiltinMethodsThatAreFinalPass(),
new RemoveDestructorPass(),
new ConstantsPass(),
new ClassAttributesPass(),
])
getAttributes
getShortName
hasInternalAncestor
implementsInterface
inNamespace
isAbstract
__toString
$name
$name
getName
name]]>
name]]>
$args
$method
$method
$method
$expectation
\Mockery\Expectation
withArgs
withArgs($args)]]>
mock->{$this->method}($method, $args)]]>
getName(),
$file,
$line
);
$error = new UnexpectedValueException($msg, 0, new \Exception($message, $code));
}]]>
function () use ($serializedString) {
$className
instantiate
$className
$instance
hasInternalAncestors
$error
$method
$method
$method
mockery_setCurrentOrder
mockery_setGroup
shouldAllowMockingMethod
@var array $args
@var string $method
@var string $method
@var string $method
byDefault
mockery_allocateOrder
mockery_findExpectation
mockery_getCurrentOrder
mockery_getExpectationCount
mockery_getGroups
mockery_getMockableProperties
mockery_init
mockery_setGroup
mockery_teardown
mockery_verify
shouldAllowMockingMethod
shouldAllowMockingProtectedMethods
shouldDeferMissing
shouldHaveBeenCalled
shouldNotHaveBeenCalled
shouldNotReceive
Mock
\Mockery\ExpectationDirector|null
null|array|Closure
null|array|Closure
load
getClassName()]]>
getCode()]]>
load
load
$path
$path
load
getClassName()]]>
getCode()]]>
$path
path]]>
require $tmpfname
RequireLoader
__toString
__toString
__toString
__toString
_expected]]>
__toString
$closure
$result
$closure($actual)
__toString
$actual
$exp
$v
__toString
$method
_expected]]>
$method
__toString
$actual
_expected]]>
__toString
$actual
__toString
IsEqual
__toString
IsSame
__toString
__toString
$closure
call_user_func_array($closure, $actual)
__toString
__toString
$actual
__toString
__toString
$exp
__toString
_expected]]>
__toString
$strict
$v
loose
strict
new static($expected, false)
new static($expected, true)
__toString
_expected]]>
_expected]]>
bool
$function($actual)
function_exists($function)
$args
$method
$args
$method
getArgs
getMethod
getArgs
getMethod
__toString
$method
function ($method) {
function () { yield; }
$method
$method
$method
$method
$method
$method
$method
$method
$name
$name
$_mockery_allowMockingProtectedMethods
$_mockery_instanceMock
$_mockery_receivedMethodCalls
_mockery_constructorCalled
_mockery_findExpectedMethodHandler
_mockery_getReceivedMethodCalls
_mockery_handleMethodCall
_mockery_handleStaticMethodCall
asUndefined
hasMethodOverloadingInParentClass
mockery_getExpectations
mockery_getMethod
mockery_isInstance
mockery_setCurrentOrder
mockery_setGroup
_mockery_expectations[$method]]]>
_mockery_expectations[$method]]]>
_mockery_expectations[$method]]]>
_mockery_expectations[$method]]]>
_mockery_groups[$group]]]>
$allowMockingProtectedMethods
$count
$director
$director
$director
$director
$exp
$expectation
$exps
$handler
$method
$method
$method
$method
$prototype
$returnValue
$rm
$rm
$rm
\Mockery\ExpectationDirector|null
\Mockery\ExpectationInterface|\Mockery\Expectation|ExpectsHigherOrderMessage
\Mockery\ExpectationInterface|\Mockery\Expectation|\Mockery\HigherOrderMessage
\Mockery\Expectation|null
int
byDefault
call
findExpectation
getExpectationCount
getExpectations
getName
getName
getName
getName
getPrototype
isAbstract
isAbstract
isPrivate
isProtected
isProtected
isProtected
isPublic
isPublic
never
push
setActualOrder
setExpectedOrder
setMethodName
verify
$count
$method
$method
$method
$method
$method
$method
$method
$count
findExpectation($args)]]>
$expectation
__call('__toString', array())]]>
_mockery_expectations[$method]]]>
shouldReceive($something)->once()]]>
_mockery_mockableMethods]]>
string[]
$methodNames
$methodNames
@var array $args
@var string $method
@var string $method
@var string $method
null
null
null
__callStatic
_mockery_constructorCalled
asUndefined
mockery_callSubjectMethod
mockery_getExpectations
mockery_thrownExceptions
$_mockery_name
\Mockery\ExpectationDirector|null
getName() !== 'Stringable']]>
_mockery_partial)]]>
_mockery_partial)]]>
shouldIgnoreMissing
shouldIgnoreMissing
once
andReturn
once
allows
expects
$methodCalls
push
verify
getArgs()]]>
getArgs()]]>
methodCalls[]]]>
$methodCall
getArgs
getArgs
getMethod
push
$declaringClass
getDeclaringClass()]]>
$declaringClass
$typeHint,
'isPrimitive' => in_array($typeHint, ['array', 'bool', 'int', 'float', 'null', 'object', 'string']),
],
]]]>
string|null
string
$typeHint
$typeHint
]]>
$declaringClass
$typeHint
$typeHint
getName
isBuiltin
$param
$param
__toString
__call
$args
$method
$args
$args
$args
$args
$limit
$maximum
$method
$method
$minimum
atLeast
atMost
between
cloneApplyAndVerify
cloneWithoutCountValidatorsApplyAndVerify
once
times
twice
verify
with
withAnyArgs
withArgs
withNoArgs
atLeast
atMost
between
once
times
twice
with
withAnyArgs
withArgs
withNoArgs
clearCountValidators
$args
$args
$args
andAnyOtherArgs
andAnyOthers
anyArgs
mock
namedMock
spy