forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
607 B
25 lines
607 B
package com.fanruan.api.decision.user; |
|
|
|
import org.junit.Assert; |
|
import org.junit.Test; |
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
import java.lang.reflect.Method; |
|
|
|
/** |
|
* @author Zed |
|
* @version 10.0 |
|
* Created by Zed on 2020/4/30 |
|
*/ |
|
public class UserKitTest { |
|
|
|
@Test |
|
public void getCurrentUserId() throws Exception { |
|
|
|
Class<?> classBook = Class.forName("com.fanruan.api.decision.user.UserKit"); |
|
Assert.assertNotNull(classBook); |
|
|
|
Method method1 = classBook.getDeclaredMethod("getCurrentUserId", HttpServletRequest.class); |
|
Assert.assertNotNull(method1); |
|
} |
|
}
|
|
|