Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sokil
Mongo
DocumentValidationTest
tearDown
Sokil\Mongo\DocumentValidationTest::tearDown PHP Method
DocumentValidationTest Class Documentation
Show file
Open project: sokil/php-mongo
tearDown()
public
method
public
tearDown
( )
public function tearDown() { $this->collection->delete(); }
DocumentValidationTest
setUp
tearDown
testAddErrors
testClearTriggeredErrors
testGetInvalidDocumentFromException
testIsValid_AlphaNumericField
testIsValid_FieldBetween
testIsValid_FieldBetween_maxNotSpecified
testIsValid_FieldBetween_minNotSpecified
testIsValid_FieldCardNumber
testIsValid_FieldEmail
testIsValid_FieldEquals
testIsValid_FieldEqualsExceptScenario
testIsValid_FieldEqualsOnScenario
testIsValid_FieldGreater
testIsValid_FieldInRange_Error_CustomMessage
testIsValid_FieldInRange_Error_DefaultMessage
testIsValid_FieldInRange_Success
testIsValid_FieldIp
testIsValid_FieldLength_Is
testIsValid_FieldLength_IsMinMax
testIsValid_FieldLength_Max
testIsValid_FieldLength_Min
testIsValid_FieldLength_MinMax
testIsValid_FieldLess
testIsValid_FieldNotEquals
testIsValid_FieldNull
testIsValid_FieldRegexp
testIsValid_FieldUrl
testIsValid_FieldValidatedByMethod_Failed
testIsValid_FieldValidatedByMethod_Passed
testIsValid_NullField
testIsValid_NumericField
testIsValid_RequiredField
testIsValid_TypeValidator
testIsValid_TypeValidator_DefaultMessageForOneType
testIsValid_TypeValidator_TypeNotSpecified
testIsValid_TypeValidator_UnexistedType
testIsValid_UnexistedValidator
testIsValid_ValidatorClass
testIsValid_checkValidatorSuperclass
testTriggerError
testTriggerErrors