ResourceInfoTest
extends TestCase
uses
TestState
Table of Contents
Properties
-
$environmentVariables
: array<string|int, mixed>
Methods
-
environmentResourceProvider()
: array<string|int, mixed>
-
test_resource_from_environment()
: void
-
restoreEnvironmentVariables()
: void
-
setEnvironmentVariable()
: void
-
tearDownSharedState()
: void
$environmentVariables
private
array<string|int, mixed>
$environmentVariables
= []
environmentResourceProvider()
public
static environmentResourceProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>
test_resource_from_environment()
public
test_resource_from_environment(string $envAttributes, array<string|int, mixed> $userAttributes, array<string|int, mixed> $expected) : void
Parameters
-
$envAttributes
: string
-
-
$userAttributes
: array<string|int, mixed>
-
-
$expected
: array<string|int, mixed>
-
-
#[DataProvider]
-
'environmentResourceProvider'
-
#[Group]
-
'compliance'
restoreEnvironmentVariables()
protected
restoreEnvironmentVariables() : void
setEnvironmentVariable()
protected
setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
-
$variable
: string
-
-
$value
: mixed
-
tearDownSharedState()
protected
tearDownSharedState() : void