Package com.wesabe.grendel.resources

Examples of com.wesabe.grendel.resources.UserResource


     
      this.credentials = mock(Credentials.class);
      when(credentials.getPassword()).thenReturn("secret");
      when(credentials.buildSession(dao, "bob")).thenReturn(session);
     
      this.resource = new UserResource(dao, new Provider<SecureRandom>() {
        @Override
        public SecureRandom get() {
          return random;
        }
      });
View Full Code Here

TOP

Related Classes of com.wesabe.grendel.resources.UserResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.