mardi 29 décembre 2015

Are OCMock objects really instances of a class?

When we create a mock object with OCMock, for example

id classMock = OCMClassMock([SomeClass class]);

is the classMock a real object of SomeClass in the background, or is it some sort of a hack?

Thanks.

Aucun commentaire:

Enregistrer un commentaire