UnintentionallyCoveredCodeError
class UnintentionallyCoveredCodeError extends RiskyTestError (View source)
Extension to PHPUnit\Framework\AssertionFailedError to mark the special case of a test that unintentionally covers code.
Properties
| protected array | $serializableTrace | from Exception | 
Methods
Details
        
                            array
    getSerializableTrace()
        
    
    Returns the serializable trace (without 'args').
        in AssertionFailedError at         line 23
                            string
    toString()
        
    
    Wrapper for getMessage() which is declared as final.