Esempio n. 1
0
 /**
  * Now we can add test data to our fixture class, we want to throw
  * exceptions if when an entry is already submitted.
  * 
  */
 function testAddTestReturnsTrueIfTestDataIsAlreadyPresent()
 {
     $testData[] = $this->_testFix->get('id', 1);
     $result = $this->_testFix->exists($testData);
     $this->assertTrue($result);
 }