(ByteArrayOutputStream mem)
| 51 | } |
| 52 | |
| 53 | static <T> Stream<String> htmlWrite(ByteArrayOutputStream mem){ |
| 54 | InputStreamReader actual = new InputStreamReader(new ByteArrayInputStream(mem.toByteArray())); |
| 55 | return new BufferedReader(actual).lines(); |
| 56 | } |
| 57 | |
| 58 | static <T> Stream<String> htmlRender(HtmlView view, T model){ |
| 59 | String html = view.render(model); |
no outgoing calls
no test coverage detected