public function testinsertMailBoxFolders() { $inboundEmail = new InboundEmail(); $inboundEmail->id = '101'; //execute the method and test if it works and does not throws an exception. try { $inboundEmail->insertMailBoxFolders(array('INBOX', 'OUTBOX')); $this->assertTrue(true); } catch (Exception $e) { $this->fail(); } }