(ByteArrayOutputStream mem)
| 58 | } |
| 59 | |
| 60 | static <T> Stream<String> htmlWrite(ByteArrayOutputStream mem){ |
| 61 | InputStreamReader actual = new InputStreamReader(new ByteArrayInputStream(mem.toByteArray())); |
| 62 | return new BufferedReader(actual).lines(); |
| 63 | } |
| 64 | |
| 65 | static <T> Stream<String> htmlRender(HtmlView view, T model){ |
| 66 | String html = view.render(model); |
no outgoing calls
no test coverage detected