junit.framework.AssertionFailedError: No more calls to 'scp' expected at this point. End of demands.

Viewed 5010

Doing an integration test in grails 1.3.7, I was mocking a method called 'scp', and the following exception occured: junit.framework.AssertionFailedError: No more calls to 'scp' expected at this point. End of demands.

'scp' was being called twice. The first time it worked, the second one it throwed the exception.

1 Answers
Related