pop3Client.login("foo2", "bar2");
assertEquals(1, pop3Client.getState());
POP3MessageInfo[] listEntries = pop3Client.listMessages();
POP3MessageInfo[] uidlEntries = pop3Client.listUniqueIdentifiers();
POP3MessageInfo statInfo = pop3Client.status();
assertEquals(msgCount, listEntries.length);
assertEquals(msgCount, uidlEntries.length);
assertEquals(msgCount, statInfo.number);
POP3Client m_pop3Protocol2 = new POP3Client();
m_pop3Protocol2.connect("127.0.0.1", pop3Port);
m_pop3Protocol2.login("foo2", "bar2");
assertEquals(1, m_pop3Protocol2.getState());
POP3MessageInfo[] listEntries2 = m_pop3Protocol2.listMessages();
POP3MessageInfo[] uidlEntries2 = m_pop3Protocol2.listUniqueIdentifiers();
POP3MessageInfo statInfo2 = m_pop3Protocol2.status();
assertEquals(msgCount, listEntries2.length);
assertEquals(msgCount, uidlEntries2.length);
assertEquals(msgCount, statInfo2.number);
pop3Client.deleteMessage(1);