PHP Class SebastiaanLuca\Router\Tests\TestCase

Inheritance: extends Orchestra\Testbench\TestCase, use trait Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration
Afficher le fichier Open project: sebastiaanluca/laravel-router

Méthodes protégées

Méthode Description
enablePublicAccessOfMethod ( mixed $class, string $name ) : ReflectionMethod Sets a private or protected class method to be publicly accessible.
enablePublicAccessOfProperty ( $class, $property ) : ReflectionProperty Sets a private or protected class property to be publicly accessible.
getPackageProviders ( Illuminate\Foundation\Application $app ) : array Get package providers.
mock ( string $class, mixed $parameters = [] ) : Mockery\MockInterface Mock a class and optionally bind it in the IoC container.
setValueOfInternalProperty ( object $instance, string $property, mixed $value ) : ReflectionProperty Set the value of a private or protected class property.

Method Details

enablePublicAccessOfMethod() protected méthode

Sets a private or protected class method to be publicly accessible.
protected enablePublicAccessOfMethod ( mixed $class, string $name ) : ReflectionMethod
$class mixed
$name string
Résultat ReflectionMethod

enablePublicAccessOfProperty() protected méthode

Sets a private or protected class property to be publicly accessible.
protected enablePublicAccessOfProperty ( $class, $property ) : ReflectionProperty
$class
$property
Résultat ReflectionProperty

getPackageProviders() protected méthode

Get package providers.
protected getPackageProviders ( Illuminate\Foundation\Application $app ) : array
$app Illuminate\Foundation\Application
Résultat array

mock() protected méthode

Mock a class and optionally bind it in the IoC container.
protected mock ( string $class, mixed $parameters = [] ) : Mockery\MockInterface
$class string
$parameters mixed
Résultat Mockery\MockInterface

setValueOfInternalProperty() protected méthode

Set the value of a private or protected class property.
protected setValueOfInternalProperty ( object $instance, string $property, mixed $value ) : ReflectionProperty
$instance object
$property string
$value mixed
Résultat ReflectionProperty