Documentation

ClassesTest extends MockeryTestCase
in package

FinalYes
Tags
coversNothing

Table of Contents

Constants

FILE_LUIGI_PIZZA  = __DIR__ . '/data/Luigi/Pizza.php'
FILE_PIZZA  = __DIR__ . '/data/Pizza.php'

Properties

$fixture  : ProjectFactory
$project  : Project

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

Methods

testItHasAllConstants()

public testItHasAllConstants() : void

testTypedPropertiesReturnTheirType()

public testTypedPropertiesReturnTheirType() : void

testUsedTraitsAreIncludedInClass()

public testUsedTraitsAreIncludedInClass() : void

testWithInterface()

public testWithInterface() : void

testWithNamespacedClass()

public testWithNamespacedClass() : void

testWithUsedParent()

public testWithUsedParent() : void

fetchClassFromFile()

private fetchClassFromFile(string $className, File $file) : mixed
Parameters
$className : string
$file : File

        
On this page

Search results