@Override
  public BufferedReader getReader() {
    try {
      return source.getReader();
    } catch (IOException e) {
      throw new IllegalStateException("Failed to read", e);
    }
  }
@Test
  public void getReader() throws IOException {
    BufferedReader reader = new BufferedReader(new StringReader("foo"));
    when(source.getReader()).thenReturn(reader);

    assertThat(underTest.getReader()).isEqualTo(reader);
  }