Comments (1)
Original comment author: Henri Tremblay
Please provide a complete test case next time. I had to guess what was the getByUnitId method to reproduce.
This is not a bug. The problem comes from the call to isNull which is an EasyMock matcher, not an Hamcrest one. You were misleaded by the static imports. Using nullValue instead makes the test case run fine.
from easymock.
Related Issues (20)
- Does not work with Java 17 HOT 26
- cglib dependency missing from documentation and Maven Central pom.xml HOT 2
- upgrade to ASM 9.2 so that easymock can work with JDK18-EA HOT 1
- feature request: super-strict mode
- .
- 'Invisible super type class' errors after fix for #274 HOT 3
- Mock serialization doesn't work
- OSGi doesn't work above Java 8
- Reactivate tests needing specific JVM args
- InvocationHandler $callback field is not accessible HOT 6
- Mocking package-private methods not working in 5.0.0 HOT 2
- EasyMock 5.0.1 OOM on large project HOT 13
- java.lang.NullPointerException at org.easymock.internal.ClassProxyFactory.classPackage(ClassProxyFactory.java:178) HOT 9
- Partial mocking Swing components in EasyMock 5.1.0 HOT 5
- Can't mock methods called from the constructor of a partial mock
- pom file error: the source.jar is not deployed correctly to maven HOT 1
- LinkageError when mocking certain classes HOT 3
- Java.lang.RuntimeException while mocking spark JavaRDD class using Easymock.createMock HOT 1
- Error running tests after Java upgrade to IBM Semeru jdk-17.0.6+10 (from jdk1.8.0_311.jdk) HOT 9
- EasyMock HEAD build fails on JDK21 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easymock.