public void testCreatePuppetScript() throws Exception {
Pool pool = mock(Pool.class);
when(pool.getSoftware()).thenReturn(Software.builder()
.packages("git-core", "vim").createSoftware());
PuppetActivity activity = new InstallPackages();
String content = activity.createPuppetScript(pool, null);
assertThat(content).contains(
"Package { ensure => \"installed\" }\n" +
"\n" +
"package { \"git-core\": }\n" +