Stubbing and mocking for RubyMotion