New test classes

Forgot to commit them it seems.
This commit is contained in:
Joshua Sherman 2014-01-03 19:08:53 -05:00
parent ff226a3cf9
commit dd2e6994fa
2 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<?php
class API_AYAHTest extends PHPUnit_Framework_TestCase
{
/**
* @expectedException Exception
* @expectedExceptionMessage Missing API configuration
*/
public function testGetHTMLMissingConfig()
{
API_AYAH::getHTML();
}
/**
* @expectedException Exception
* @expectedExceptionMessage Missing API configuration
*/
public function testIsHumanMissingConfig()
{
API_AYAH::isHuman();
}
}
?>