@Test
public void should_delete_an_asset() throws Exception {

    Page page = mockPageOfId("my-page");
    mockMvc.perform(
            delete("/rest/pages/my-page/assets/UIID")
                    .contentType(MediaType.APPLICATION_JSON_VALUE))
            .andExpect(status().isOk());
    verify(pageAssetService).delete(page, "UIID");
}