文章列表
Handling unit tests with a condition on the current time(处理具有当前时间条件的单元测试)
Is it possible to create a mock object that implements multiple interfaces with EasyMock?(是否可以使用 EasyMock 创建一个实现多个接口的模拟对象?)
Mockito; verify method was called with list, ignore order of elements in list(模拟;使用列表调用验证方法,忽略列表中元素的顺序)
What#39;s the best mock framework for Java?(Java 最好的模拟框架是什么?)
How to properly match varargs in Mockito(如何正确匹配 Mockito 中的可变参数)
How to tell a Mockito mock object to return something different the next time it is called?(如何告诉 Mockito 模拟对象在下次调用时返回不同的东西?)
throw checked Exceptions from mocks with Mockito(使用 Mockito 从模拟中抛出已检查的异常)
Is it discouraged to use @Spy and @InjectMocks on the same field?(是否不鼓励在同一领域使用 @Spy 和 @InjectMocks?)
Mocking Java enum to add a value to test fail case(模拟 Java 枚举以添加一个值来测试失败案例)
mock or stub for chained call(链式调用的模拟或存根)