Method |
Description |
|
eventsToBailOperations ( ) |
|
|
getProjections ( ) |
Retrieves projections that should be replaced by mapper. |
|
getWriteConcernVariations ( ) |
|
|
queryValueScenarios ( ) |
|
|
tearDown ( ) |
|
|
testDatabaseOperationsShouldBailOutIfTheEventHandlerReturnsFalse ( $operation, $dbOperation, $eventName ) |
|
|
testPrepareProjectionShouldConvertArray ( $data, $expectation ) |
|
|
testPrepareProjectionShouldThrownAnException ( ) |
|
|
testShouldBeAbleToConstructWithSchema ( ) |
|
|
testShouldDelete ( $entity, $writeConcern, $shouldFireEventAfter, $expected ) |
|
|
testShouldGetAll ( ) |
|
|
testShouldGetFirstProjectingFields ( ) |
|
|
testShouldGetFirstTroughACacheableCursor ( ) |
|
|
testShouldGetFirstTroughACacheableCursorProjectingFields ( ) |
|
|
testShouldGetFirstWithQuery ( ) |
|
|
testShouldGetNullIfFirstCantFindAnything ( ) |
|
|
testShouldGetRawCollection ( ) |
|
|
testShouldGetSchemaMapper ( ) |
|
|
testShouldGetWithWhereQuery ( ) |
|
|
testShouldInsert ( $entity, $writeConcern, $shouldFireEventAfter, $expected ) |
|
|
testShouldInsertWithoutFiringEvents ( $entity, $writeConcern, $shouldFireEventAfter, $expected ) |
|
|
testShouldParseObjectToDocumentAndPutResultingIdIntoTheGivenObject ( ) |
|
|
testShouldPrepareQueryValue ( $value, $expectation ) |
|
|
testShouldSave ( $entity, $writeConcern, $shouldFireEventAfter, $expected ) |
|
|
testShouldUpdate ( $entity, $writeConcern, $shouldFireEventAfter, $expected ) |
|
|
testUpdateShouldCallInsertWhenObjectHasNoId ( $entity, $writeConcern, $shouldFireEventAfter, $expected ) |
|
|