Package de.jetwick.data

Examples of de.jetwick.data.JTweet.addReply()


    public void testGetReplies() {
        JUser usera = new JUser("usera");
        JTweet tw = new JTweet(1L, "this is a Test ", usera);
        JUser userb = new JUser("userb");
        JTweet tw2 = new JTweet(2L, "this is a Test ", userb);
        tw2.addReply(tw);
        twSearch.store(tw, true);
        twSearch.store(tw2, true);

        assertEquals(0, twSearch.searchReplies(1L, true).size());
        assertEquals(0, twSearch.searchReplies(2L, true).size());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.