tag:blogger.com,1999:blog-3116223414845218047.post1771839272428775892..comments2024-03-28T02:33:02.852-05:00Comments on Assar Java Consulting: mockFor and MockFor in GrailsNirav Assarhttp://www.blogger.com/profile/15474798428329603952noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-3116223414845218047.post-86846666559846385482022-08-19T02:49:29.251-05:002022-08-19T02:49:29.251-05:00I am so happy to come across this piece of write u...I am so happy to come across this piece of write up, very much advanced my understanding to the next top level. Great job and continue to do same..<a href="https://blackfurcoat.com/product/chicago-p-d-sophia-bush-leather-jacket/" rel="nofollow">Sophia Bush Leather Jacket</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-37980907470419512022-04-18T07:30:48.412-05:002022-04-18T07:30:48.412-05:00it was a wonderful chance to visit this kind of si...it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity.. <a href="https://theleathersjacket.com/product/daft-punk-leather-jacket/" rel="nofollow"> Daft Punk Jacket </a>The Leathers Jackethttps://theleathersjacket.com/noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-61064354439771854082022-03-26T03:13:40.053-05:002022-03-26T03:13:40.053-05:00I really amazed to read this blog post. Thanksgivi...I really amazed to read this blog post. <a href="https://www.filmsjackets.com/thanksgiving-sale" rel="nofollow">Thanksgiving Sale</a>Amelie Zilbernoreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-55777554047873271692022-01-31T04:26:03.604-06:002022-01-31T04:26:03.604-06:00Your info is really amazing with impressive conten...Your info is really amazing with impressive content..Excellent blog with informative concept. Really I feel happy to see this useful blog, Thanks for sharing such a nice blog..<br /><br />Good Post! Thank you so much for sharing the post, it was so good to read and useful to improve.<br /><br />Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!<brperiyannanhttps://www.blogger.com/profile/06659546616451492142noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-66075235853610477012022-01-18T02:22:20.848-06:002022-01-18T02:22:20.848-06:00I’m happy by reading your enjoyable article, Keep ...I’m happy by reading your enjoyable article, Keep uploading more interesting articles like this <a href="https://fauxjacket.com/product-category/mens-collection/" rel="nofollow">Mens Collection</a>Annahttps://www.blogger.com/profile/14183716677108233703noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-25402466367381193582020-11-12T03:30:14.944-06:002020-11-12T03:30:14.944-06:00Thanks for sharing this amazing instructive conten...Thanks for sharing this amazing instructive content. <a href="https://www.leatherjacket4.com/wool-jacket/yellowstone-coat-wool-jacket" rel="nofollow">Yellowstone Coat</a>Jenniferhttps://www.blogger.com/profile/13663218320214248956noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-36982963150162152802020-09-10T08:13:17.037-05:002020-09-10T08:13:17.037-05:00Thanks for sharing this informative content , Grea...Thanks for sharing this informative content , Great work<br />Leanpitch provides online training inScrum Master during this lockdown period everyone can use it wisely.<br /><a href="https://leanpitch.com/advanced-scrum-master-training" rel="nofollow"><b> Advanced Scrum Master Training </b></a>srihttps://www.blogger.com/profile/10986893727829560363noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-77963812459373783312020-09-09T06:44:39.392-05:002020-09-09T06:44:39.392-05:00Thanks for sharing this informative content , Grea...Thanks for sharing this informative content , Great work<br />Leanpitch provides online training in Advanced Scrum Master during this lockdown period everyone can use it wisely. <br /><a href="https://leanpitch.com/online/advanced-scrum-master-training" rel="nofollow"><b> Advanced Scrum Master Training Online</b></a><br />srihttps://www.blogger.com/profile/10986893727829560363noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-89905237228833834802017-03-09T23:45:41.461-06:002017-03-09T23:45:41.461-06:00very informative article.And very well explained a...very informative article.And very well explained about different protocols.keep posting like good content posts.For more details please visit our website.<br /><a href="http://erptree.com/" rel="nofollow"> Oracle Fusion Cloud HCM Online Training</a>Anonymoushttps://www.blogger.com/profile/17189735647109484266noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-12205970760410668552016-10-06T03:36:20.366-05:002016-10-06T03:36:20.366-05:00Interesting Article
Spring Hibernate Online Train...Interesting Article<br /><br /><a href="http://wisentechnologies.com/it-courses/java-training.aspx" title="Spring Hibernate Online Training" rel="nofollow">Spring Hibernate Online Training</a> | <a href="http://wisentechnologies.com/it-courses/Hibernate-Training-In-Chennai.aspx" title="Hibernate Training in Chennai" rel="nofollow">Hibernate Training in Chennai</a><br /><br /><br /><a href="http:/Anonymoushttps://www.blogger.com/profile/08425218170331995337noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-33330024074362459072013-04-19T20:03:20.127-05:002013-04-19T20:03:20.127-05:00Thanks, i appreciate the feedback.Thanks, i appreciate the feedback.Nirav Assarhttps://www.blogger.com/profile/15474798428329603952noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-71737849056057193842013-04-19T15:20:40.378-05:002013-04-19T15:20:40.378-05:00Thanks for your simple example of mockFor Vs. Mock...Thanks for your simple example of mockFor Vs. MockFor. For me the real problem with the Grails mockFor is that it is not available for integration testing but you get no error message about that if you accidentally use it (beside the fact that it worked in older Grails versions).<br /><br />When I was doing some testing before I think I ran into this too, but I was able to solve it by changing Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-53986175718698284562012-12-13T16:57:36.183-06:002012-12-13T16:57:36.183-06:00Reading white on black, ouh la la.. my poor eyes.Reading white on black, ouh la la.. my poor eyes.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-69473208309484554092011-01-02T15:15:26.755-06:002011-01-02T15:15:26.755-06:00Yes, you can use this in Java. I haven't used ...Yes, you can use this in Java. I haven't used it for testing Java classes, but the documentation says it can. You must use instance style with proxy. See "Instance-style MockFor and StubFor" section, last paragraph here:<br /><br />http://groovy.codehaus.org/Groovy+MocksNirav Assarhttps://www.blogger.com/profile/15474798428329603952noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-62200498916183225652011-01-01T00:25:45.939-06:002011-01-01T00:25:45.939-06:00Is there any way to get MockFor to work when mocki...Is there any way to get MockFor to work when mocking a service or interface defined in Java? (e.g. with non dynamic return type)Anonymoushttps://www.blogger.com/profile/15694147527248755786noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-88195346641367758702010-12-30T15:05:18.188-06:002010-12-30T15:05:18.188-06:00Yes, Paul. Thanks you are correct. I have run into...Yes, Paul. Thanks you are correct. I have run into this issue before with mocking closures, and it had caused problems in the past. I am correcting the code in the blog. Thanks!Nirav Assarhttps://www.blogger.com/profile/15474798428329603952noreply@blogger.comtag:blogger.com,1999:blog-3116223414845218047.post-62317475630057828042010-12-30T14:58:04.446-06:002010-12-30T14:58:04.446-06:00Assir
In your demand you defined your closure inc...Assir<br /><br />In your demand you defined your closure incorrectally.<br /><br />You entered:<br />mockBalanceServiceControl.demand.checkBalance(1..1) { return 24 }<br /><br />You should have entered<br />mockBalanceServiceControl.demand.checkBalance(1..1) { -> return 24 }<br /><br />Since the closure takes zero parameters, you have to define it as { -> ... } not { }<br /><br />Best Unknownhttps://www.blogger.com/profile/15824887417960216309noreply@blogger.com