@Test
public void getAdView_shouldReturnPopulatedView() throws Exception {

    when(mockNativeResponse1.getTitle()).thenReturn("test title");
    when(mockNativeResponse1.getText()).thenReturn("test text");
    when(mockNativeResponse1.getCallToAction()).thenReturn("test call to action");
    View view = NativeAdViewHelper.getAdView(relativeLayout, viewGroup, context, mockNativeResponse1, viewBinder);
    assertThat(((TextView)view.findViewById(titleView.getId())).getText()).isEqualTo("test title");
    assertThat(((TextView)view.findViewById(textView.getId())).getText()).isEqualTo("test text");
    assertThat(((TextView)view.findViewById(callToActionView.getId())).getText()).isEqualTo("test call to action");
    // not testing images due to testing complexity
}