/**
  * @test
  */
 public function it_should_get_all_child_folders_in_the_given_folder_with_no_alias()
 {
     $imap = $this->getImap(false);
     /** @noinspection PhpUndefinedMethodInspection */
     $this->mailbox->shouldReceive('getMailboxName')->with(true)->andReturn('{imap.example.com:993/imap/ssl}');
     /** @noinspection PhpUndefinedMethodInspection */
     $imap->shouldReceive('getFolders')->with('{imap.example.com:993/imap/ssl}FOO', '*');
     $mailboxManager = new ImapMailboxService($imap);
     $mailboxManager->getChildFolders('FOO');
 }