_sm->listUsers(); $this->assertEquals(true, is_array($users)); $params = $this->_conn->getParams(); $testUser = $params['user']; $found = false; foreach ($users as $user) { if ($user['user'] == $testUser) { $found = true; } } $this->assertEquals(true, $found); } protected function getCreateExampleViewSql() { return 'SELECT * from mysql.user'; } }