diff options
Diffstat (limited to 'src/test/java/com/juick/tests/MessageTests.java')
-rw-r--r-- | src/test/java/com/juick/tests/MessageTests.java | 4 |
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); |