diff options
author | Vitaly Takmazov | 2017-10-15 05:37:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-15 19:50:15 +0300 |
commit | 9a4add44ecbd32dea6ac3d30fd81ae1ac82e3dbc (patch) | |
tree | 38b7a4ba01d1fc47841d3ba2787209b2b2a2de9e /juick-core/src/test/java | |
parent | aeda9e3733e685f5069b5cfbb16272cd32073fa0 (diff) |
api: ImagesService
Diffstat (limited to 'juick-core/src/test/java')
-rw-r--r-- | juick-core/src/test/java/com/juick/MessageTest.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/juick-core/src/test/java/com/juick/MessageTest.java b/juick-core/src/test/java/com/juick/MessageTest.java index b420edfa..3bdac9be 100644 --- a/juick-core/src/test/java/com/juick/MessageTest.java +++ b/juick-core/src/test/java/com/juick/MessageTest.java @@ -128,31 +128,6 @@ public class MessageTest { } @Test - public void attachmentURLShouldBeReturnCorrectResult() throws Exception { - Message message1 = new Message(); - - assertThat(message1.getAttachmentURL(), nullValue()); - - message1.setAttachmentType("jpeg"); - - assertThat(message1.getAttachmentURL(), equalTo("http://i.juick.com/photos-1024/0.jpeg")); - - message1.setRid(1); - - assertThat(message1.getAttachmentURL(), equalTo("http://i.juick.com/photos-1024/0-1.jpeg")); - - Message message2 = new Message(); - - message2.setAttachmentType("mp4"); - - assertThat(message2.getAttachmentURL(), equalTo("http://i.juick.com/video/0.mp4")); - - message2.setRid(1); - - assertThat(message2.getAttachmentURL(), equalTo("http://i.juick.com/video/0-1.mp4")); - } - - @Test public void tagsStringShouldBeEmptyIfNoTags() throws Exception { Message message = new Message(); |