PHP Class Lemon\RestBundle\Tests\Controller\ResourceControllerTest

Datei anzeigen Open project: stanlemon/rest-bundle

Protected Properties

Property Type Description
$controller Lemon\RestBundle\Controller\ResourceController

Public Methods

Method Description
setUp ( )
test500 ( )
testDeleteAction ( )
testGetAction ( )
testGetActionForNonExistentObject ( )
testGetActionWithVersion ( )
testHttpException ( )
testInvalidMethod ( )
testListAction ( )
testOptions ( )
testPatchAction ( )
testPostAction ( )
testPostActionWithInvalidAttribute ( )
testPostActionWithNestedCollection ( )
testPostActionWithNestedCollectionAndId0 ( )
testPostActionWithNestedEntity ( )
testPostActionWithNestedExistingEntity ( )
testPostActionWithNestedGratherThanSecondLevel ( )
testPostWithIdForObject ( )
testPostWithIdsForOneToManyRelationships ( )
testPutAction ( )
testPutActionWithInvalidAttribute ( )
testPutActionWithNestedCollectionAndExistingItem ( )
testPutActionWithNestedCollectionAndExistingItemAndNewItem ( )
testPutActionWithNestedCollectionAndNewItemWithId0 ( )
testPutActionWithNestedCollectionAndRemoveAllExistingItems ( )
testPutActionWithNestedCollectionAndRemoveExistingItem ( )
testPutActionWithNestedEntityRemoved ( )
testPutActionWithNestedEntityThatHasANestedCollection ( )
testPutActionWithNestedExistingEntity ( )
testPutActionWithNestedNewEntity ( )
testPutActionWithoutIdInPayload ( )
testPutWithIdForObject ( )
testPutWithIdsForOneToManyRelationships ( )

Protected Methods

Method Description
assertArrayHasObjectWithValue ( $expected, $array, $key )

Method Details

assertArrayHasObjectWithValue() protected method

protected assertArrayHasObjectWithValue ( $expected, $array, $key )

setUp() public method

public setUp ( )

test500() public method

public test500 ( )

testDeleteAction() public method

public testDeleteAction ( )

testGetAction() public method

public testGetAction ( )

testGetActionForNonExistentObject() public method

testGetActionWithVersion() public method

testHttpException() public method

public testHttpException ( )

testInvalidMethod() public method

public testInvalidMethod ( )

testListAction() public method

public testListAction ( )

testOptions() public method

public testOptions ( )

testPatchAction() public method

public testPatchAction ( )

testPostAction() public method

public testPostAction ( )

testPostActionWithInvalidAttribute() public method

testPostActionWithNestedCollection() public method

testPostActionWithNestedCollectionAndId0() public method

testPostActionWithNestedEntity() public method

testPostActionWithNestedExistingEntity() public method

testPostActionWithNestedGratherThanSecondLevel() public method

testPostWithIdForObject() public method

testPostWithIdsForOneToManyRelationships() public method

testPutAction() public method

public testPutAction ( )

testPutActionWithInvalidAttribute() public method

testPutActionWithNestedCollectionAndExistingItem() public method

testPutActionWithNestedCollectionAndExistingItemAndNewItem() public method

testPutActionWithNestedCollectionAndNewItemWithId0() public method

testPutActionWithNestedCollectionAndRemoveAllExistingItems() public method

testPutActionWithNestedCollectionAndRemoveExistingItem() public method

testPutActionWithNestedEntityRemoved() public method

testPutActionWithNestedEntityThatHasANestedCollection() public method

testPutActionWithNestedExistingEntity() public method

testPutActionWithNestedNewEntity() public method

testPutActionWithoutIdInPayload() public method

testPutWithIdForObject() public method

testPutWithIdsForOneToManyRelationships() public method

Property Details

$controller protected_oe property

protected ResourceController,Lemon\RestBundle\Controller $controller
return Lemon\RestBundle\Controller\ResourceController