PHP Class PhpBench\Tests\Unit\Json\JsonDecoderTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: dantleech/phpbench

Public Methods

Method Description
provideNormalizer ( )
setUp ( )
testNormalizer ( $string, $expected ) It should convert "non-strict" JSON to JSON.
testThrowException ( ) It should throw an exception if a non-string value is passed.

Method Details

provideNormalizer() public method

public provideNormalizer ( )

setUp() public method

public setUp ( )

testNormalizer() public method

It should convert "non-strict" JSON to JSON.
public testNormalizer ( $string, $expected )

testThrowException() public method

It should throw an exception if a non-string value is passed.
public testThrowException ( )