VersionedTestState
class VersionedTestState implements TestState (View source)
Decorate sapphire test with versioning
Properties
| protected | string | $readingmode | ||
| protected | string | $defaultMode | Default reading mode  | 
                |
| protected | bool | $securedDraft | If draft site is secured  | 
                
Methods
Details
        
                            
    setUp(SapphireTest $test)
        
    
    Called on setup
        
                            
    tearDown(SapphireTest $test)
        
    
    Called on tear down
        
                            
    setUpOnce(string $class)
        
    
    Called once on setup
        
                            
    tearDownOnce(string $class)
        
    
    Called once on tear down
        
                    protected        
    resetState()
        
    
    Reset to default "null" state both prior to, and following tests