### Question:
MediaEntity { public String getCopyright() { return copyright; } MediaEntity(String url, String format, int height, int width, String type, String subType, String caption, String copyright); String getUrl(); String getFormat(); int getHeight(); int getWidth(); String getType(); String getSubType(); String getCaption(); String getCopyright();  }### Answer:
@Test public void testMediaCopyright() { Mockito.when(mediaEntity.getCopyright()).thenReturn(copyright); Assert.assertEquals("testing copyright", mediaEntity.getCopyright()); }
@Test public void testMediaCopyrightIncorrect() { Mockito.when(mediaEntity.getCopyright()).thenReturn(copyright); Assert.assertNotEquals("copyright", mediaEntity.getCopyright()); }