@Test public void getNumMessageShouldReturnZeroIfNoMapping() { assertThat(testee.getNumMessage()) .isEqualTo(0); }
public synchronized int getNumMessage() { return uids.size(); }
UidMsnConverter { public synchronized int getNumMessage() { return uids.size(); } }
UidMsnConverter { public synchronized int getNumMessage() { return uids.size(); } UidMsnConverter(); }
UidMsnConverter { public synchronized int getNumMessage() { return uids.size(); } UidMsnConverter(); synchronized void addAll(List<MessageUid> addedUids); synchronized NullableMessageSequenceNumber getMsn(MessageUid uid); synchronized Optional<MessageUid> getUid(int msn); synchronized Optional<MessageUid> getLastUid(); synchronized Optional<MessageUid> getFirstUid(); synchronized int getNumMessage(); synchronized void remove(MessageUid uid); synchronized boolean isEmpty(); synchronized void clear(); synchronized void addUid(MessageUid uid); }
UidMsnConverter { public synchronized int getNumMessage() { return uids.size(); } UidMsnConverter(); synchronized void addAll(List<MessageUid> addedUids); synchronized NullableMessageSequenceNumber getMsn(MessageUid uid); synchronized Optional<MessageUid> getUid(int msn); synchronized Optional<MessageUid> getLastUid(); synchronized Optional<MessageUid> getFirstUid(); synchronized int getNumMessage(); synchronized void remove(MessageUid uid); synchronized boolean isEmpty(); synchronized void clear(); synchronized void addUid(MessageUid uid); static final int FIRST_MSN; }