ImmutableList<Statement> statementList = statements.build();
Statement expectedFoo = createOrOverwriteFile("/tmp/roles/" + roleFoo.getName() + ".json",
ImmutableSet.of(roleFoo.toJsonString()));
Statement expectedBar = createOrOverwriteFile("/tmp/roles/" + roleBar.getName() + ".json",
ImmutableSet.of(roleBar.toJsonString()));
assertEquals(statementList.size(), 3);
assertEquals(statementList.get(0), exec("{md} /tmp/roles"));
assertEquals(statementList.get(1).render(OsFamily.UNIX), expectedFoo.render(OsFamily.UNIX));
assertEquals(statementList.get(2).render(OsFamily.UNIX), expectedBar.render(OsFamily.UNIX));