@Test
public void should_trigger_delete_on_workspaceResourceHandler_when_deleting_a_form() throws Exception {

    formRepository.save(aPage().withId("aPageId").build());
    formRepository.delete("aPageId");
    verify(workspaceResourceHandler).delete(formRepository.resolvePath("aPageId"));
}