@Test
public void populateList() {

    presenterSpy.populateList(outputCounterLocal);
    verify(coverageElementPresenterMock, times(1)).clear();
    verify(coverageElementPresenterMock, times(outputCounterLocal.size()))
            .addElementView(descriptionCaptor.capture(),
                            valueCaptor.capture());
    List<String> descriptions = descriptionCaptor.getAllValues();
    assertEquals(2, descriptions.size());
    assertEquals("d1", descriptions.get(0));
    assertEquals("d2", descriptions.get(1));
    List<String> values = valueCaptor.getAllValues();
    assertEquals(2, values.size());
    assertEquals("1", values.get(0));
    assertEquals("2", values.get(1));
}