コード例 #1
0
ファイル: FixtureTest.php プロジェクト: baphled/boodah
 /**
  * we expect our test data to come up to 1 less than what we 
  * initially had., so here we want to make sure that the pieces
  * of test data equal 
  *
  */
 function testremoveActuallyRemovesExpectedTestData()
 {
     $expected = $this->_testFix->count() - 1;
     $this->_testFix->remove('id', 1);
     $actual = $this->_testFix->count();
     $this->assertEquals($expected, $actual);
 }