Matt Reid | Senior Software Developer

Matthew Reid is a software and web developer, specialising in Java and the JVM, js and web frameworks. He has a passion for clean code, entrepreneurship, company culture and making the world a better place.

A lot of websites are after your money to subscribe to their service. A lot of their traffic comes from marketing emails. Most people read their emails on their phone, leading to a problem.

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.