### Question:
NewsEntity { public String getArticleUrl() { return articleUrl; }  String getTitle(); String getSummary(); String getArticleUrl(); String getByline(); String getPublishedDate(); List<MediaEntity> getMediaEntityList();  }### Answer:
@Test public void testNewsArticleUrl(){ Mockito.when(newsEntity.getArticleUrl()).thenReturn(articleUrl); Assert.assertEquals("www.google.com/image",newsEntity.getArticleUrl()); }
@Test public void testNewsArticleUrlIncorrect(){ Mockito.when(newsEntity.getArticleUrl()).thenReturn(articleUrl); Assert.assertNotEquals("www.google.com",newsEntity.getArticleUrl()); }