注释类型 MockStaticEntityMethods
@Deprecated @Retention(RUNTIME) @Target(TYPE) public @interface MockStaticEntityMethods
已过时。as of Spring 4.3, in favor of a custom aspect for such purposesAnnotation to indicate a test class for whose@Test
methods static methods on JPA-annotated@Entity
classes should be mocked.See
AnnotationDrivenStaticEntityMockingControl
for details.- 作者:
- Rod Johnson, Sam Brannen