PHP Class Lemon\RestBundle\Tests\Controller\ResourceControllerTest

Afficher le fichier Open project: stanlemon/rest-bundle

Protected Properties

Свойство Type Description
$controller Lemon\RestBundle\Controller\ResourceController

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode Description
assertArrayHasObjectWithValue ( $expected, $array, $key )

Method Details

assertArrayHasObjectWithValue() protected méthode

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

setUp() public méthode

public setUp ( )

test500() public méthode

public test500 ( )

testDeleteAction() public méthode

public testDeleteAction ( )

testGetAction() public méthode

public testGetAction ( )

testGetActionForNonExistentObject() public méthode

testGetActionWithVersion() public méthode

testHttpException() public méthode

public testHttpException ( )

testInvalidMethod() public méthode

public testInvalidMethod ( )

testListAction() public méthode

public testListAction ( )

testOptions() public méthode

public testOptions ( )

testPatchAction() public méthode

public testPatchAction ( )

testPostAction() public méthode

public testPostAction ( )

testPostActionWithInvalidAttribute() public méthode

testPostActionWithNestedCollection() public méthode

testPostActionWithNestedCollectionAndId0() public méthode

testPostActionWithNestedEntity() public méthode

testPostActionWithNestedExistingEntity() public méthode

testPostActionWithNestedGratherThanSecondLevel() public méthode

testPostWithIdForObject() public méthode

testPostWithIdsForOneToManyRelationships() public méthode

testPutAction() public méthode

public testPutAction ( )

testPutActionWithInvalidAttribute() public méthode

testPutActionWithNestedCollectionAndExistingItem() public méthode

testPutActionWithNestedCollectionAndExistingItemAndNewItem() public méthode

testPutActionWithNestedCollectionAndNewItemWithId0() public méthode

testPutActionWithNestedCollectionAndRemoveAllExistingItems() public méthode

testPutActionWithNestedCollectionAndRemoveExistingItem() public méthode

testPutActionWithNestedEntityRemoved() public méthode

testPutActionWithNestedEntityThatHasANestedCollection() public méthode

testPutActionWithNestedExistingEntity() public méthode

testPutActionWithNestedNewEntity() public méthode

testPutActionWithoutIdInPayload() public méthode

testPutWithIdForObject() public méthode

testPutWithIdsForOneToManyRelationships() public méthode

Property Details

$controller protected_oe property

protected ResourceController,Lemon\RestBundle\Controller $controller
Résultat Lemon\RestBundle\Controller\ResourceController