import static se.mockachino.Mockachino.*;
List<String> mockedList = mock(List.class);
when(mockedList.get(0)).thenReturn("Mockachino");
assertEquals("Mockachino", mockedList.get(0));
<dependency>
<groupId>org.mockachino</groupId>
<artifactId>mockachino</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>