mardi 27 octobre 2015

OCMClassMock ignore class

I am writing some tests where I want to ignore all backend calls while the tests run, so ignore AFURLConnectionOperation. I am calling OCMClassMock and expected that to behave as a nice-mock and ignore any calls made to any objects of type AFURLConnectionOperation. That doesn't seem to be the case. What am I doing wrong?

OCMClassMock([AFURLConnectionOperation class])

Aucun commentaire:

Enregistrer un commentaire