@@ -0,0 +1,1694 @@
+package org.wikipedia.feed.view;%0A%0Aimport android.net.Uri;%0A%0Aimport org.junit.Before;%0Aimport org.junit.experimental.theories.Theory;%0Aimport org.junit.experimental.theories.suppliers.TestedOn;%0Aimport org.wikipedia.test.ViewTest;%0Aimport org.wikipedia.theme.Theme;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.is;%0Aimport static org.hamcrest.Matchers.notNullValue;%0Aimport static org.hamcrest.Matchers.nullValue;%0Aimport static org.mockito.Mockito.mock;%0Aimport static org.wikipedia.test.ViewTest.LayoutDirection.LOCALE;%0Aimport static org.wikipedia.util.StringUtil.emptyIfNull;%0A%0Apublic class ListCardItemViewTest extends ViewTest %7B%0A    private ListCardItemView subject;%0A%0A    @Before public void setUp() %7B%0A        setUp(WIDTH_DP_S, LOCALE, FONT_SCALES%5B0%5D, Theme.LIGHT);%0A        subject = new ListCardItemView(ctx());%0A    %7D%0A%0A    @Theory public void testSetImage(@TestedOn(ints = %7B0, 1%7D) int nonnull) %7B%0A        Uri uri = nonnull == 0 ? null : mock(Uri.class);%0A        assertThat(subject.imageView.getController(), nullValue());%0A        subject.setImage(uri);%0A        assertThat(subject.imageView.getController(), notNullValue());%0A    %7D%0A%0A    @Theory public void testSetTitle(@TestedOn(ints = %7B0, 1%7D) int nonnull) %7B%0A        CharSequence title = nonnull == 0 ? null : %22subtitle%22;%0A        subject.setTitle(title);%0A        assertThat(subject.titleView.getText(), is(emptyIfNull(title)));%0A    %7D%0A%0A    @Theory public void testSetSubtitle(@TestedOn(ints = %7B0, 1%7D) int nonnull) %7B%0A        CharSequence subtitle = nonnull == 0 ? null : %22subtitle%22;%0A        subject.setSubtitle(subtitle);%0A        assertThat(subject.subtitleView.getText(), is(emptyIfNull(subtitle)));%0A    %7D%0A%7D

Add ListCardItemViewTest