will fit shortly.  thx for the review!


On Fri, May 31, 2013 at 10:09 AM, Jake Wharton <notifications@github.com>wrote:

> In retrofit/src/test/java/retrofit/RestAdapterTest.java:
>
> > +
> > +    Example example = new RestAdapter.Builder() //
> > +        .setClient(mockClient)
> > +        .setExecutors(mockRequestExecutor, mockCallbackExecutor)
> > +        .setServer("http://example.com")
> > +        .setProfiler(mockProfiler)
> > +        .setLog(log)
> > +        .setDebug(true)
> > +        .build()
> > +        .create(Example.class);
> > +
> > +    when(mockClient.execute(any(Request.class))) //
> > +        .thenReturn(new Response(200, "OK", NO_HEADERS, new TypedString("{}")));
> > +
> > +    example.something();
> > +    assertThat(logMessages.size()).isEqualTo(5);
>
> .hasSize(5)!
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/square/retrofit/pull/229/files#r4481028>
> .
>