Spring ReflectionTestUtils 工具类


#Spring#


该工具类最常用的两个方法是 getFiled 和 setField,具体使用示例见 Spring 结合 Mockito 编写单元测试


( 本文完 )