ServiceTest

Extends \PHPUnit\Framework\TestCase

Tests for Service object

package

Kocuj\Di\Tests\ArgumentParser\ServiceTest

Methods

Testing argument for old version

testOldVersionArgument() 
expectedException

\PHPUnit\Framework\Error\Error

Testing parsing service as argument

testParseService() 

Testing parsing the same service twice as argument

testParseTheSameService() 
expectedException

\Kocuj\Di\ArgumentParser\Exception

Testing wrong argument

testWrongArgument() 
expectedException

\Kocuj\Di\ArgumentParser\Exception