Matt Reid | Senior Software Developer

Matthew Reid is a software developer and web developer, specialising in Java, Node and Scala as well as HTML JavaScript and CSS.

When using spring”s handy ReflectionTestUtils to set a field on an AOP proxied object, it has trouble setting fields on the proxy object (complaining that “field not found”). In this case you need to unwrap the original object from the proxy.