Working stubs with objective-c