aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/tests/MessageTests.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-12 17:39:33 +0300
committerGravatar Vitaly Takmazov2016-07-12 17:39:33 +0300
commitbdbf65e0a50758bfcc88e1cc9c501eeed4e7e45d (patch)
tree756e8b29b2442c82ae50a3548c772f4a65b6d1ef /src/test/java/com/juick/tests/MessageTests.java
parent291da35b1bf7dcd66bf621160f907872fd0f7825 (diff)
jackson-databind WIP
Diffstat (limited to 'src/test/java/com/juick/tests/MessageTests.java')
-rw-r--r--src/test/java/com/juick/tests/MessageTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/juick/tests/MessageTests.java b/src/test/java/com/juick/tests/MessageTests.java
index 5dceccc0..3e391a67 100644
--- a/src/test/java/com/juick/tests/MessageTests.java
+++ b/src/test/java/com/juick/tests/MessageTests.java
@@ -26,8 +26,8 @@ public class MessageTests {
IOException, SAXException {
Message msg = new Message();
msg.parseTags("test test" + (char) 0xA0 + "2 test3");
- assertEquals("First tag must be", "test", msg.Tags.get(0));
- assertEquals("Third tag must be", "test3", msg.Tags.get(2));
+ assertEquals("First tag must be", "test", msg.Tags.get(0).getName());
+ assertEquals("Third tag must be", "test3", msg.Tags.get(2).getName());
assertEquals("Count of tags must be", 3, msg.Tags.size());
Date currentDate = new Date();
msg.setDate(currentDate);