OCMock constraints const char * arguments

35 Views Asked by At

OCMVerify function invocation, one of the parameters is const char *, how to constraits this type

[mock xxx:filter file:file func:__FUNCTION__];
OCMVerify([mock xxxxx:OCMArg.any file:OCMArg.any]);

the xxx function will call xxxxx

1

There are 1 best solutions below

0
Erik Doernenburg On

I think you want anyPointer. See section 4.1 of the documentation for details.