Skip to content

Instantly share code, notes, and snippets.

@harkinj
harkinj / gist:d30ac155e30fb4282769b555f2bf9fb4
Last active May 30, 2019 10:24
mockito returning lists
// https://stackoverflow.com/questions/7366237/mockito-stubbing-methods-that-return-type-with-bounded-wild-cards/7655709
package com.allstate.is.schedapi.services;
import com.allstate.is.schedapi.exceptions.ScheduleDeletionException;
import com.allstate.is.schedapi.exceptions.ScheduleRetrievalException;
import com.allstate.is.schedapi.jobs.WebCallJob;
import com.allstate.is.schedapi.models.ScheduleEntry;
import org.junit.Test;
import org.junit.runner.RunWith;