ClassesTest
extends MockeryTestCase
in package
FinalYes
Tags
Table of Contents
Constants
- FILE_LUIGI_PIZZA = __DIR__ . '/data/Luigi/Pizza.php'
- FILE_PIZZA = __DIR__ . '/data/Pizza.php'
Properties
Methods
- testItHasAllConstants() : void
- testTypedPropertiesReturnTheirType() : void
- testUsedTraitsAreIncludedInClass() : void
- testWithInterface() : void
- testWithNamespacedClass() : void
- testWithTrait() : void
- testWithUsedParent() : void
- setUp() : void
- fetchClassFromFile() : mixed
Constants
FILE_LUIGI_PIZZA
public
mixed
FILE_LUIGI_PIZZA
= __DIR__ . '/data/Luigi/Pizza.php'
FILE_PIZZA
public
mixed
FILE_PIZZA
= __DIR__ . '/data/Pizza.php'
Properties
$fixture
private
ProjectFactory
$fixture
$project
private
Project
$project
Methods
testItHasAllConstants()
public
testItHasAllConstants() : void
testTypedPropertiesReturnTheirType()
public
testTypedPropertiesReturnTheirType() : void
testUsedTraitsAreIncludedInClass()
public
testUsedTraitsAreIncludedInClass() : void
testWithInterface()
public
testWithInterface() : void
testWithNamespacedClass()
public
testWithNamespacedClass() : void
testWithTrait()
public
testWithTrait() : void
testWithUsedParent()
public
testWithUsedParent() : void
setUp()
protected
setUp() : void
fetchClassFromFile()
private
fetchClassFromFile(string $className, File $file) : mixed
Parameters
- $className : string
- $file : File