Removed MockPrincipal inner class as MockPrincipal is now a full class.

This commit is contained in:
Ben Alex 2004-03-29 13:38:16 +00:00
parent c220ff583c
commit 922461d19a
1 changed files with 1 additions and 9 deletions

View File

@ -19,6 +19,7 @@ import junit.framework.TestCase;
import net.sf.acegisecurity.GrantedAuthority; import net.sf.acegisecurity.GrantedAuthority;
import net.sf.acegisecurity.GrantedAuthorityImpl; import net.sf.acegisecurity.GrantedAuthorityImpl;
import net.sf.acegisecurity.adapters.MockPrincipal;
import net.sf.acegisecurity.adapters.PrincipalAcegiUserToken; import net.sf.acegisecurity.adapters.PrincipalAcegiUserToken;
import org.apache.catalina.LifecycleException; import org.apache.catalina.LifecycleException;
@ -280,13 +281,4 @@ public class CatalinaAcegiUserRealmTests extends TestCase {
return adapter; return adapter;
} }
//~ Inner Classes ==========================================================
private class MockPrincipal implements Principal {
public String getName() {
throw new UnsupportedOperationException(
"mock method not implemented");
}
}
} }