@Test void nextUidShouldCallUidProvider() throws Exception { messageUtils.nextUid(mailbox); verify(uidProvider).nextUid(eq(mailbox)); }
@VisibleForTesting MessageUid nextUid(Mailbox mailbox) throws MailboxException { return uidProvider.nextUid(mailbox); }
MessageUtils { @VisibleForTesting MessageUid nextUid(Mailbox mailbox) throws MailboxException { return uidProvider.nextUid(mailbox); } }
MessageUtils { @VisibleForTesting MessageUid nextUid(Mailbox mailbox) throws MailboxException { return uidProvider.nextUid(mailbox); } MessageUtils(UidProvider uidProvider, ModSeqProvider modSeqProvider); }
MessageUtils { @VisibleForTesting MessageUid nextUid(Mailbox mailbox) throws MailboxException { return uidProvider.nextUid(mailbox); } MessageUtils(UidProvider uidProvider, ModSeqProvider modSeqProvider);  }
MessageUtils { @VisibleForTesting MessageUid nextUid(Mailbox mailbox) throws MailboxException { return uidProvider.nextUid(mailbox); } MessageUtils(UidProvider uidProvider, ModSeqProvider modSeqProvider);   }