Hi,
Say I need to test the following two methods:
public UserObj getUser(String username) {...}
public UserObj getUser(int userID) {...}
The specs say that to test a method, I need to prepend the method name with "test".
So to test a method someMethod(...) it would be public void testSomeMethod() {...}.
What about for the above case?
I can't have two testGetUser() methods in junit ... Is there a way to differentiate?
Cheers,
pea