From dc3bf922d9715bfd1b2105be04a9aabc84a1d7d4 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 12 Apr 2007 08:05:03 +0000 Subject: Refactor and add TTableGateway, System.Data.Common, System.Data.DataGateway --- tests/simple_unit/TableGateway/CountTest.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/simple_unit/TableGateway/CountTest.php (limited to 'tests/simple_unit/TableGateway/CountTest.php') diff --git a/tests/simple_unit/TableGateway/CountTest.php b/tests/simple_unit/TableGateway/CountTest.php new file mode 100644 index 00000000..56ffb19b --- /dev/null +++ b/tests/simple_unit/TableGateway/CountTest.php @@ -0,0 +1,16 @@ +getGateway2()->count(); + $this->assertEqual(44,$result); + + $result = $this->getGateway2()->count('department_id = ?', 1); + $this->assertEqual(4, $result); + } +} +?> \ No newline at end of file -- cgit v1.2.3