# File tests/funfx_test.rb, line 62 def flex_object m = flexmock("funfx") m.should_receive(:checkComponent).with("id1","FlexObject").and_return("id2") m.should_receive(:checkComponent).with("id2","Button").and_return("id3") m.should_receive(:checkComponent).with(nil, "FlexObject").and_return("id1") m.should_receive(:checkComponent).with(nil, "app").and_return("idApp") return m end