@Test
public void should_not_add_widget_metadata_to_zip() throws Exception {

    repository.addWidget(aWidget().id("widget"));
    Page page = aPage().with(aComponent("widget")).build();
    String content = "content";
    when(directiveFileGenerator.getWidgetsFilesUsedInPage(page)).thenReturn(Arrays.asList(Paths.get("widget")));
    when(directiveFileGenerator.concatenate(Arrays.asList(Paths.get("widget")))).thenReturn(content.getBytes());
    step.execute(zipper, page);
    verify(zipper, never()).addToZip(repository.resolveWidgetMetadata("widget"), "resources/widgets/widget/widget" +
            ".metadata.json");
}