@Before
public void setup() throws IOException {
builder = mock(RequestBuilder.class);
client = new JumblrClient("ck", "cs", "@", "@");
client.setRequestBuilder(builder);
ResponseWrapper rw = new MockResponseWrapper();
when(builder.get(anyString(), anyMap())).thenReturn(rw);
when(builder.post(anyString(), anyMap())).thenReturn(rw);
when(builder.postMultipart(anyString(), anyMap())).thenReturn(rw);
when(builder.getRedirectUrl(anyString())).thenReturn("url");
}