Under ARC
, I have an object, Child
that has a weak
property, parent
. I\'m trying to write some tests for Child
We've been struggling with this same issue and it does indeed have to do with an incompatibility between ARC and weak references to NSProxy derived objects. I would recommend using a pre-processor directive to conditionally compile your weak delegate references to assign within the test suite so you can test them via OCMock.