@Test(expected = IllegalArgumentException.class) public void execute() throws Exception {
mockMvc.perform(fileUpload(URL) .param("name")) .andExpect(status().isOk()) .andExpect(view().name("abc.html")); }
Aucun commentaire:
Enregistrer un commentaire