public function testsetSessionInboundFoldersString() { $inboundEmail = new InboundEmail(); $result = $inboundEmail->setSessionInboundFoldersString('mail.google.com', 'test', 22, 'IMAP', 'foldersList string'); $this->assertEquals('foldersList string', $_SESSION['mail.google.comtest22IMAPfoldersList']); }