Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this
- ->given($this->newTestedInstance())
- ->if($this->function->file_exists = true)
- ->then
- ->object($this->testedInstance->loadConfigFile())
- ->isTestedInstance()
- ->if($this->function->file_exists = false )
- ->then
- ->exception(function() { $this->testedInstance->loadConfigFile(); })
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement