刘光辉
昨天 bb638871a7fb692d80f1b7a758f991dc0879002c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package jnpf.file;
 
import org.junit.Test;
import org.springframework.web.multipart.MultipartFile;
 
import static org.junit.Assert.assertEquals;
 
public class FileUploadApiTest {
 
    @Test
    public void exposesReplaceFileContract() throws Exception {
        assertEquals(boolean.class, FileUploadApi.class
                .getMethod("replaceFile", MultipartFile.class, String.class, String.class)
                .getReturnType());
    }
}