How can I verify that my mock object created with OCMockito has received a method invocation with a primitive argument?
The method that I'm trying to test is setProgress:(float)progress
CompositeProgressView* mockProgress = mock([CompositeProgressView class]);
self.downloader.progressView = mockProgress;
//run a task that increments progress
...
//test
[verify(mockProgress) setProgress:anything()]; //does not work