object=new Acc_Balance($g_connection); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { } /** * @covers Acc_Balance::get_row * @todo Implement testGet_row(). */ public function testGet_row() { $this->object->get_row(1,200); // Remove the following lines when you implement this test. $this->markTestIncomplete( 'DATA : cannot be tested' ); } /** * @covers Acc_Balance::filter_cat * @todo Implement testFilter_cat(). */ public function testFilter_cat() { $this->object->jrn=1; $this->object->filter_cat(array()); $this->assertEquals($this->object->jrn,null); $this->object->filter_cat(array('FIN')); $this->assertEquals($this->object->jrn[0],2); } /** * @covers Acc_Balance::test_me * @todo Implement testTest_me(). */ public function testTest_me() { // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); } }