I'm using http://www.grails.org/plugin/facebook-graph to get user profile, but I'm stuck to 开发者_如何学编程test from controllers. Anybody could advice me how to mock or test facebook session in integration testing?
how about start testing some post in your wall, using the follow code:
facebookGraphService.publishWall(message:"The message",
link:"http://www.example.com/article.html",
name:"The name of the link")
精彩评论