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());
| }
| }
|
|