session_factory = new phpbb_session_testable_factory; $this->db = $this->new_dbal(); $this->session_facade = new phpbb_session_testable_facade($this->db, $this->session_factory); } protected function check_sessions_equals($expected_sessions, $message) { $sql = 'SELECT session_id, session_user_id FROM phpbb_sessions ORDER BY session_user_id'; $this->assertSqlResultEquals($expected_sessions, $sql, $message); } }