docs/Test-Contract.md
# Chippyash Authentication Manager
##
chippyash\Test\Authentication\Manager\Digest\BasicDigestCollection
* Can read a digest file
* Trying to read a non existent digest file returns false
* Can write a digest file
* Can get digest entry if it exists
* Get digest entry will throw exception if not exists
* Can add a digest entry if realm has been set on encoder
* Cannot add a digest entry if realm has not been set on encoder
* Can retrieve digest item as string
* Retrieve as string will throw exception if entry does not exist
* Can find by uid if realm is set
* Cannot find by uid if realm is not set and will throw exception
* Can find by uid will return false if not found
* Can delete if entry exists
* Delete will return false if entry does not exist
##
chippyash\Test\Authentication\Manager\DigestManager
* Can create a digest entry
* Creating an existing digest entry throws exception
* Can read an existing entry
* Reading a non existent entry throws exception
* Can update an existing entry
* Cannot update non existent entry
* Has returns true for an existing entry
* Has returns false for a non existent entry
* Can delete existing entry
* Deleting non existent entry throws exception
##
chippyash\Test\Authentication\Manager\Encoder\BasicEncoder
* Cannot encode without setting realm first
* Can encode if you set realm first
* Encoding creates basic digest
##
chippyash\Test\Authentication\Manager\Exceptions\AuthManagerException
* Exception extends base p h p exception
Generated by [chippyash/testdox-converter](https://github.com/chippyash/Testdox-Converter)