PHP Класс BetterReflectionTest\SourceLocator\Located\LocatedSourceTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
exceptionCasesProvider ( ) : array
testConstructorThrowsExceptionIfEmptyFileGiven ( )
testConstructorThrowsExceptionIfFileDoesNotExist ( )
testConstructorThrowsExceptionIfFileIsNotAFile ( )
testConstructorThrowsExceptionIfFileIsNotReadable ( )
testThrowsExceptionWhenInvalidValuesGiven ( string $source, string $file, string $expectedException, string $expectedMessage )
testValuesHappyPath ( )
testValuesWithNullFilename ( )

Описание методов

exceptionCasesProvider() публичный Метод

public exceptionCasesProvider ( ) : array
Результат array

testConstructorThrowsExceptionIfEmptyFileGiven() публичный Метод

testConstructorThrowsExceptionIfFileDoesNotExist() публичный Метод

testConstructorThrowsExceptionIfFileIsNotAFile() публичный Метод

testConstructorThrowsExceptionIfFileIsNotReadable() публичный Метод

testThrowsExceptionWhenInvalidValuesGiven() публичный Метод

public testThrowsExceptionWhenInvalidValuesGiven ( string $source, string $file, string $expectedException, string $expectedMessage )
$source string
$file string
$expectedException string
$expectedMessage string

testValuesHappyPath() публичный Метод

public testValuesHappyPath ( )

testValuesWithNullFilename() публичный Метод