Closed alexeyismirnov closed 9 years ago
That's unfortunate. I'm not planning to change the DSL to solve this, specially because whatever option I may choose could conflict with another macro in other library. Another reason is that Nocilla defines an instance method called andReturn
while OCMock uses macros, which are more invasive and global. I think they should be the ones taking a more conservative approach and prefixing their macros.
In any case, as a workaround, you can UNDEF OCMock's macro.
The problem is that it is impossible to use Nocilla together with OCMock, as described in this StackOverflow question:
http://stackoverflow.com/questions/26362151/are-ocmock-and-nocilla-incompatible