@Test public void testParsedData() { List<ListGroup> data = DatafeedTestDriver.getParsedData(mSubscriber, mMedias); assertEquals(2, data.size()); assertMediaGroup(data.get(0), 2, R.string.media_images_header, 0, 2); assertMediaGroup(data.get(1), 1, R.string.media_videos_header, 1); }
@Test public void testSimpleParsing() { DatafeedTestDriver.testSimpleParsing(mSubscriber, mMedias); }
@Test public void testNullData() { DatafeedTestDriver.parseNullData(mSubscriber); }