tag:blogger.com,1999:blog-1232373056233364796.post2958834550783844299..comments2019-03-20T04:49:16.221-07:00Comments on Brians Java Blog: An Introduction to Wiremock Brianhttp://www.blogger.com/profile/10580394485657179244noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-1232373056233364796.post-33300479778723133282017-03-31T05:35:33.900-07:002017-03-31T05:35:33.900-07:00I am new to wiremock and as per client requirement...I am new to wiremock and as per client requirement , I have to use wiremock in our project but the thing is I have to write wiremock related code in .NET not in Java but I did not find any reference for Wiremock with .NET. Could you please help me with sample code to use wiremock in .NET. requirement : we have a API service , we have to mock that service using wiremock and write Xunit test case in C#.NETSelva Ganeshhttps://www.blogger.com/profile/14927013750396163254noreply@blogger.comtag:blogger.com,1999:blog-1232373056233364796.post-19811941639819245402016-10-31T13:47:19.668-07:002016-10-31T13:47:19.668-07:00Hi Pablo. Have a look at the source for CustomerRe...Hi Pablo. Have a look at the source for CustomerResourceTest.java at https://github.com/briansjavablog/wiremock-demo/blob/master/src/test/java/com/blog/samples/test/CustomerResourceTest.java. You&#39;ll see that the assertThat is used in conjunction with some Hamcrest imports.Brianhttps://www.blogger.com/profile/10580394485657179244noreply@blogger.comtag:blogger.com,1999:blog-1232373056233364796.post-75422432028165633782016-10-31T13:12:06.377-07:002016-10-31T13:12:06.377-07:00Hi Brian! Great example... but i&#39;m having trou...Hi Brian! Great example... but i&#39;m having trouble with the &#39;assertThat&#39; methods in CostumerResourceTest.java... I&#39;m getting &#39;The method assertThat(T, Matcher) in the type Assert is not applicable for the arguments ({diferent type of arguments})&#39;... my &#39;assertThat&#39; import is &#39;org.junit.Assert.assertThat&#39;... any ideas? Thank you very much!Pablo Hidalgohttps://www.blogger.com/profile/05449927964613396444noreply@blogger.com