|
From: Steve F. <st...@m3...> - 2004-01-07 09:09:20
|
You need to tell the mock about the two input parameters, otherwise it
can't tell which method you're referring to. There are some helper
methods in the C class.
S.
Bryce Fischer wrote:
> Here's my Test Code:
> public void testSuccessfulLogin() {
> mockSecurityManager.expectAndReturn("validateLogin", true);
> and here's the call my class is making:
> if (manager.validateLogin(username, password)) {
|