PHP Class Mongolid\Model\RelationsTest

Inheritance: extends TestCas\TestCase
Afficher le fichier Open project: leroy-merlin-br/mongolid

Méthodes publiques

Méthode Description
embedsScenarios ( )
manipulativeMethods ( )
referenceScenarios ( )
tearDown ( )
testShouldEmbeddedUnembedAttachAndDetachDocuments ( $method )
testShouldEmbedsMany ( $entity, $field, $fieldValue, $expectedItems )
testShouldEmbedsOne ( $entity, $field, $fieldValue, $expectedItems )
testShouldReferenceMany ( $entity, $field, $fieldValue, $expectedQuery )
testShouldReferenceOne ( $entity, $field, $fieldValue, $expectedQuery )

Method Details

embedsScenarios() public méthode

public embedsScenarios ( )

manipulativeMethods() public méthode

public manipulativeMethods ( )

referenceScenarios() public méthode

public referenceScenarios ( )

tearDown() public méthode

public tearDown ( )

testShouldEmbeddedUnembedAttachAndDetachDocuments() public méthode

testShouldEmbedsMany() public méthode

public testShouldEmbedsMany ( $entity, $field, $fieldValue, $expectedItems )

testShouldEmbedsOne() public méthode

public testShouldEmbedsOne ( $entity, $field, $fieldValue, $expectedItems )

testShouldReferenceMany() public méthode

public testShouldReferenceMany ( $entity, $field, $fieldValue, $expectedQuery )

testShouldReferenceOne() public méthode

public testShouldReferenceOne ( $entity, $field, $fieldValue, $expectedQuery )