OCMock is an Objective-C implementation of mock objects. If you are unfamiliar with the concept of mock objects, please visit mockobjects.com, which has more details & discussions about this approach to testing software.
Please visit ocmock.org for documentation and support.