Yeah sorry about that, originally was going for a mock


On Fri, Feb 21, 2014 at 8:35 AM, Dimitris <notifications@github.com> wrote:

> In picasso/src/test/java/com/squareup/picasso/DispatcherTest.java:
>
> >      NetworkInfo info = mockNetworkInfo();
> >      when(info.isConnectedOrConnecting()).thenReturn(true);
> >      dispatcher.performNetworkStateChange(info);
> >      verify(service).adjustThreadCount(info);
> >      verifyZeroInteractions(service);
> >    }
> > +
> > +  private Dispatcher mockMeOneNow(ExecutorService service) {
>
> Please rename as createDispatcher or something. Having the word mock
> there had me thinking this is a mockito mock for a second.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/square/picasso/pull/411/files#r9951755>
> .
>