刘光辉
12 小时以前 34981c30a78e8bbd7791131059a9210f9928b62c
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());
    }
}