### Question:
RetrofitOutputResource implements OutputResource { @Override public String getMimeType() { return mResponse.contentType().type(); } RetrofitOutputResource(ResponseBody input); @Override String getMimeType(); @Override long getLength(); @Override InputStream getStream();  }### Answer:
@Test public void shouldDelegateMimeType() { when(mTypedInput.contentType()).thenReturn(MediaType.parse("multipart/form-data")); objectUnderTest.getMimeType(); verify(mTypedInput, times(1)).contentType(); }