/**
  * @test
  */
 public function it_flags_the_messages_as_important()
 {
     $imap = $this->getImap();
     /** @noinspection PhpUndefinedMethodInspection */
     $imap->shouldReceive('setFlag')->with('1,2', '\\Flagged')->andReturn(true);
     $mailboxManager = new ImapMailboxService($imap);
     $mailboxManager->flagAsImportant('1,2');
 }