@Test public void testGet() throws Exception { assertEquals(expected, text.get()); }
public String get() throws Exception { final InputStream in = textSupplier.get(); try (final Reader reader = new InputStreamReader(in)) { return IoUtils.from(reader); } }
Text { public String get() throws Exception { final InputStream in = textSupplier.get(); try (final Reader reader = new InputStreamReader(in)) { return IoUtils.from(reader); } } }
Text { public String get() throws Exception { final InputStream in = textSupplier.get(); try (final Reader reader = new InputStreamReader(in)) { return IoUtils.from(reader); } }  }
Text { public String get() throws Exception { final InputStream in = textSupplier.get(); try (final Reader reader = new InputStreamReader(in)) { return IoUtils.from(reader); } }  void read(final DangerousSupplier<OutputStream> supplier); void read(final DangerousConsumer<InputStream> consumer); String get(); }
Text { public String get() throws Exception { final InputStream in = textSupplier.get(); try (final Reader reader = new InputStreamReader(in)) { return IoUtils.from(reader); } }  void read(final DangerousSupplier<OutputStream> supplier); void read(final DangerousConsumer<InputStream> consumer); String get();  }