@Test
public void shouldMapListOfActor() {

    List<ActorNetwork> spyListOfActors = spy(new ArrayList<>());
    spyListOfActors.add(new ActorNetwork());
    doReturn(1).when(actorNetworkListMock).size();
    doReturn(spyListOfActors).when(responseMock).getActors();
    final List<Actor> actorList = mapper.map(responseMock);
    assertNotNull(actorList);
    assertFalse(actorList.isEmpty());
    assertEquals(responseMock.getActors().size() , actorList.size());
}