我的问题是,当我用OCMockito Xcode启动测试时,告诉我xctest[3096:115464] The bundle “Tests” couldn’t be loaded because itTry reinstalling the bundle.和Library not loaded: @rpath/OCMockito.framework/Versions/A/OCMockito
当我在测试目标的搜索路径构建设置中检查OCMockito框架的路径时,一切看起来都正确!这是
如何获得对模拟对象的调用计数?这应该是这样的:<do some work that may call 'interestingMethod' one or two times>
NSInteger count = currentCountOfInvocations([mockA interestingMethod]); //or something simila