PHP 클래스 Lemon\RestBundle\Tests\Controller\ResourceControllerTest

파일 보기 프로젝트 열기: stanlemon/rest-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$controller Lemon\RestBundle\Controller\ResourceController

공개 메소드들

메소드 설명
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 ( )

보호된 메소드들

메소드 설명
assertArrayHasObjectWithValue ( $expected, $array, $key )

메소드 상세

assertArrayHasObjectWithValue() 보호된 메소드

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

setUp() 공개 메소드

public setUp ( )

test500() 공개 메소드

public test500 ( )

testDeleteAction() 공개 메소드

public testDeleteAction ( )

testGetAction() 공개 메소드

public testGetAction ( )

testGetActionForNonExistentObject() 공개 메소드

testGetActionWithVersion() 공개 메소드

testHttpException() 공개 메소드

public testHttpException ( )

testInvalidMethod() 공개 메소드

public testInvalidMethod ( )

testListAction() 공개 메소드

public testListAction ( )

testOptions() 공개 메소드

public testOptions ( )

testPatchAction() 공개 메소드

public testPatchAction ( )

testPostAction() 공개 메소드

public testPostAction ( )

testPostActionWithInvalidAttribute() 공개 메소드

testPostActionWithNestedCollection() 공개 메소드

testPostActionWithNestedCollectionAndId0() 공개 메소드

testPostActionWithNestedEntity() 공개 메소드

testPostActionWithNestedExistingEntity() 공개 메소드

testPostActionWithNestedGratherThanSecondLevel() 공개 메소드

testPostWithIdForObject() 공개 메소드

testPostWithIdsForOneToManyRelationships() 공개 메소드

testPutAction() 공개 메소드

public testPutAction ( )

testPutActionWithInvalidAttribute() 공개 메소드

testPutActionWithNestedCollectionAndExistingItem() 공개 메소드

testPutActionWithNestedCollectionAndExistingItemAndNewItem() 공개 메소드

testPutActionWithNestedCollectionAndNewItemWithId0() 공개 메소드

testPutActionWithNestedCollectionAndRemoveAllExistingItems() 공개 메소드

testPutActionWithNestedCollectionAndRemoveExistingItem() 공개 메소드

testPutActionWithNestedEntityRemoved() 공개 메소드

testPutActionWithNestedEntityThatHasANestedCollection() 공개 메소드

testPutActionWithNestedExistingEntity() 공개 메소드

testPutActionWithNestedNewEntity() 공개 메소드

testPutActionWithoutIdInPayload() 공개 메소드

testPutWithIdForObject() 공개 메소드

testPutWithIdsForOneToManyRelationships() 공개 메소드

프로퍼티 상세

$controller 보호되어 있는 프로퍼티

protected ResourceController,Lemon\RestBundle\Controller $controller
리턴 Lemon\RestBundle\Controller\ResourceController