Can you please post the test here? I suspect you're using Record/Replay semantics?
Tim On Mon, Dec 21, 2009 at 2:20 PM, [email protected] <[email protected]>wrote: > In our project we currently have ~330 tests (50% integration tests, > 50% isolated unit tests). One test in particular passes locally, but > fails during our continuous integration build. > > Here's the error message that we are getting: > > "Test method [method name here] threw exception: > System.InvalidOperationException: This action is invalid when the mock > object is in verified state.." > > What does this exception mean? I am seeing this error on 2 other > tests... so only 3 tests out of our 330 tests are getting this > exception when executed from the build server. > > Any guidance would be greatly appreciated. > > -- > > You received this message because you are subscribed to the Google Groups > "Rhino.Mocks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rhinomocks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rhinomocks?hl=en. > > > -- Tim Barcz Microsoft C# MVP Microsoft ASPInsider http://timbarcz.devlicio.us http://www.twitter.com/timbarcz -- You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhinomocks?hl=en.
