import static org.mockito.Matchers.anyString;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyZeroInteractions;
<BUG>import static org.mockito.Mockito.when;
@SuppressWarnings({"rawtypes", "unchecked"})</BUG>
public class AdapterTaskTest {
private Runnable task;
@Mock

import static org.mockito.Matchers.anyString;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyZeroInteractions;
import static org.mockito.Mockito.when;
import static org.mockito.Mockito.withSettings;
@SuppressWarnings({"rawtypes", "unchecked"})
public class AdapterTaskTest {
private Runnable task;
@Mock
