@Test
public void json_multiple_secret_entries() throws IOException {
outputStream.reset();
Renderer renderer = new Renderer(OutputFormat.JSON, printStream, null, null);
renderer.render(Arrays.asList(secretEntryView, secretEntryViewBinary));
String expected = String.format("[ %s, %s ]\n", loadExpectedValue("expected_secret_entry.json"), loadExpectedValue("expected_secret_entry_binary.json"));
assertThat(outputStream.toString(), equalTo(expected));
}
RenderSecretEntryTest.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:strongbox
作者:
评论列表
文章目录