You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it fails on dependency not being correctly initialized (it is null).
BUT if we change order of properties in JustTestService, so @Autowired properties are first, it suddenly starts working.
Hello,
we have encountered very strange bug in Easymock.
It fails to initialize
@Autowired
dependencies, whenObject
property is used.We have following code:
Dependency
Service
Test for service
it fails on
dependency
not being correctly initialized (it isnull
).BUT if we change order of properties in
JustTestService
, so@Autowired
properties are first, it suddenly starts working.what is even more strange, if we use different type of object (
Integer
for example) it also works.The text was updated successfully, but these errors were encountered: