Demo entry 6691525

test

   

Submitted by anonymous on Jan 11, 2018 at 09:35
Language: Java. Code size: 805 Bytes.

for (SearchNewsObject newsObject : result.getNewsObjects())
        {
            System.out.println("******** NewsObject ***********");
            System.out.println(newsObject.getUrn());
            System.out.println(newsObject.getTitle());
            System.out.println(newsObject.getCreateDate());
            System.out.println("");

            assertNotSame("", newsObject.getTitle());
            assertNotSame("", newsObject.getLead());
            assertNotSame("", newsObject.getBody());
            assertNotSame("", newsObject.getCreateDate());
            assertNotSame("", newsObject.getPublishDate());
            assertNotSame("", newsObject.getUrn());
            assertNotSame("", newsObject.getUuid());
            assertNotSame(0, newsObject.getPageNr());
        }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).