Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
BetterReflectionTest
SourceLocator
Type
SingleFileSourceLocatorTest
getMockReflector
BetterReflectionTest\SourceLocator\Type\SingleFileSourceLocatorTest::getMockReflector PHP Method
SingleFileSourceLocatorTest Class Documentation
Mostra file
Open project: roave/better-reflection
getMockReflector()
private
method
private
getMockReflector
( ) :
BetterReflection\Reflector\Reflector | PHPUnit_Framework_MockObject_MockObject
return
BetterReflection\Reflector\Reflector | PHPUnit_Framework_MockObject_MockObject
private function getMockReflector() { return $this->createMock(Reflector::class); }
SingleFileSourceLocatorTest
getMockReflector
testConstructorThrowsExceptionIfEmptyFileGiven
testConstructorThrowsExceptionIfFileDoesNotExist
testConstructorThrowsExceptionIfFileIsNotAFile
testReturnsNullWhenSourceDoesNotContainClass
testReturnsReflectionWhenSourceHasClass