easymock
Mocking Clojure protocols
Can one of the popular Java mocking frameworks like EasyMock or Mockito be used to mock Clojure protocols defined with开发者_高级运维 defprotocol? If so, how?You should be able to mock protocols using[详细]
2023-02-23 00:18 分类:问答EasyMock / PowerMock import question
I\'m experiencing some problems I can\'t quite figure out, and one site I found suggested a problem with incompatibilities with verify() if the mocks were created with PowerMock.[详细]
2023-02-20 08:29 分类:问答Why does this EasyMock test fails?
Hi I have this test below failing an开发者_开发技巧d giving me this error, the fail is on the Verify... but I can\'t get why.[详细]
2023-02-19 14:56 分类:问答Unit Testing Composite Service Methods
I am writing (junit) unit tests for a class which implements an exposed interface with methods like: public Set<Setting> getUserSettings();[详细]
2023-02-19 06:28 分类:问答java EasyMock ignore calls to an object from TestedClass' methods
I have a class where I have an object. I am tes开发者_开发百科ting a method that calls this object, but it the object has nothing to do with my test, so I\'d like to ignore it.[详细]
2023-02-18 04:26 分类:问答Need some help with some basic PowerMock / EasyMock problems
I\'m relatively new to the world of PowerMock / EasyMock, and something I thought should be relatively straight-forward just isn\'t working. Perhaps someone can show me where I\'m going wrong.[详细]
2023-02-16 20:45 分类:问答NoClassDefFoundError when using Powermock
I\'m running a junit test case using the PowerMock test runner. I\'m using the following command line to execute it:[详细]
2023-02-16 09:17 分类:问答GWT and EasyMock - can't call createStrictMock()
I\'m trying to use EasyMock to facilitate testing my GWT project but I get an error on the createStrictMock method:[详细]
2023-02-15 16:46 分类:问答EasyMock and Ibatis
In my DAO layer I am doing all my database work by calling stored procedures. I was wondering has anyone been successful in testing their DAO layer using EasyMock?[详细]
2023-02-14 23:10 分类:问答Refactoring to test
I have a piece of code roughly equivalent to the following. public class ConcreteThread extends OtherThread {[详细]
2023-02-12 08:38 分类:问答
加载中,请稍侯......