aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/net/java/sip/communicator/impl/protocol/irc/ChatRoomMemberIrcImplTest.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/net/java/sip/communicator/impl/protocol/irc/ChatRoomMemberIrcImplTest.java b/test/net/java/sip/communicator/impl/protocol/irc/ChatRoomMemberIrcImplTest.java
index 2761f9d..20a931b 100644
--- a/test/net/java/sip/communicator/impl/protocol/irc/ChatRoomMemberIrcImplTest.java
+++ b/test/net/java/sip/communicator/impl/protocol/irc/ChatRoomMemberIrcImplTest.java
@@ -300,4 +300,15 @@ public class ChatRoomMemberIrcImplTest
"susy", ChatRoomMemberRole.SILENT_MEMBER);
Assert.assertTrue(member1.equals(member2));
}
+
+ public void testHashcodeNotFailing()
+ {
+ ChatRoom chatroom = EasyMock.createMock(ChatRoom.class);
+ ProtocolProviderService provider =
+ EasyMock.createMock(ProtocolProviderService.class);
+ ChatRoomMemberIrcImpl member =
+ new ChatRoomMemberIrcImpl(provider, chatroom, "ET",
+ ChatRoomMemberRole.ADMINISTRATOR);
+ member.hashCode();
+ }
}