Created
October 21, 2014 15:13
-
-
Save iporsut/1929201c6e70e9e7b917 to your computer and use it in GitHub Desktop.
AcceptingAuthorizerSpy Java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AcceptingAuthorizerSpy implements Authorizer { | |
public boolean authorizeWasCalled = false; | |
public Boolean authorize(String username, String password) { | |
authorizeWasCalled = true; | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment