PHP Class Hal\Tests\ResourceTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: zircote/hal

Public Methods

Method Description
testConstructWithLinkObject ( )
testEmptyResource ( ) This tests adding an empty resource
testEmptySelfLink ( ) This tests adding a resource with no self link
testEmptySelfLinkWithOthers ( ) This tests adding a resource with no self link
testJsonNumericConversion ( )
testSetLinkMultiple ( )
testSetLinkMultiplePlural ( )
testSetLinkMultipleSingular ( )
testSetLinkMultipleSingularPlural ( )
testSetLinksMultiple ( )
testSetLinksMultiplePlural ( )
testSetLinksMultipleSingluar ( )
testSetLinksMultipleSingluarPlural ( )
testSetSingleLink ( )
testSetSingleLinkPlural ( )

Method Details

testConstructWithLinkObject() public method

testEmptyResource() public method

This tests adding an empty resource
public testEmptyResource ( )

testEmptySelfLinkWithOthers() public method

This tests adding a resource with no self link

testJsonNumericConversion() public method

testSetLinkMultiple() public method

public testSetLinkMultiple ( )

testSetLinkMultiplePlural() public method

testSetLinkMultipleSingular() public method

testSetLinkMultipleSingularPlural() public method

testSetLinksMultiple() public method

testSetLinksMultiplePlural() public method

testSetLinksMultipleSingluar() public method

testSetLinksMultipleSingluarPlural() public method

testSetSingleLinkPlural() public method