org.junit.Test @Target(value={ METHOD}) - - - target注解:有效目标--只作用于方法 @Retention(value=RUNTIME) - - - Retention注解:有效范围--运行时 The Test annotation tells JUnit that thepublic void method to which it is attached can be run as a test case. To run the method,