StandardTest

Extends \PHPUnit\Framework\TestCase

Tests for Standard object

package

Kocuj\Di\Tests\Service\Standard

Methods

Provider for testing get service for the selected service

getServiceServiceProvider() : array

Response

array

Data for get service for the selected service

Get value or service for the selected service

getServiceValueOrService(boolean $argumentsAreServices, array $arguments) 

Arguments

$argumentsAreServices

boolean

Arguments are services (true) or values (false)

$arguments

array

Arguments

Provider for testing get value for the selected service

getServiceValueProvider() : array

Response

array

Data for get value for the selected service

Testing get service for the selected service

testGetServiceService(array $arguments) 
dataProvider

getServiceServiceProvider

Arguments

$arguments

array

Arguments

Testing get value for the selected service

testGetServiceValue(array $arguments) 
dataProvider

getServiceValueProvider

Arguments

$arguments

array

Arguments