easymock « Bean « Spring Q&A





1. EasyMock object for unit testing involving scope="request" bean    stackoverflow.com

I am trying to add some Unit Testing to some of our companies code. Yes, I know it should already be there, but not everyone seems to have the same ...

2. Autowiring of beans generated by EasyMock factory-method?    stackoverflow.com

I have a problem that seems really strange to me. I have the following setup: An interface:

package com.example;

public interface SomeDependency {
}
A spring component:
package com.example;

@Component
public class SomeClass {
}
A spring test config with a ...

3. Inject mock into bean failed    stackoverflow.com

For my unit tests, I want to use mocks for some autowired dependencies of the bean under test. The mock is created and injected into the unit test class properly, but ...

5. Problem using EasyMock beans    forum.springsource.org

I seem to be having some difficulties using spring created mock objects. It seems that the proxy spring is creating is getting in the way and causing none of the expectations ...

6. Testing Field Injected properties with easymock    forum.springsource.org

Testing Field Injected properties with easymock Hi I have a little query which I hope someone maybe able to help me solve. I have an EJB3 stateful bean which I inject ...