枚举类的使用
org.springframework.boot.test.mock.mockito.MockReset
使用MockReset的程序包
-
org.springframework.boot.test.mock.mockito中MockReset的使用
修饰符和类型方法说明static MockReset
已过时, 待删除: 此 API 元素将从以后的版本中删除。返回带有指定名称的该类的枚举常量。static MockReset[]
MockReset.values()
已过时, 待删除: 此 API 元素将从以后的版本中删除。返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明static org.mockito.MockSettings
已过时, 待删除: 此 API 元素将从以后的版本中删除。ApplyMockReset
to existingsettings
.static org.mockito.MockSettings
MockReset.withSettings
(MockReset reset) 已过时, 待删除: 此 API 元素将从以后的版本中删除。Createsettings
to be used with mocks where a specific reset should occur.