        String accessToken = "<PASSWORD>-<PASSWORD>-token";

        OAuthContext retVal = owner.createMock(OAuthContext.class);
        expect(retVal.getType()).andReturn(AuthorizationType.OAUTH_2).anyTimes();

        expect(retVal.getTokenType()).andReturn(tokenType).anyTimes();
        expect(retVal.getToken()).andReturn(accessToken).anyTimes();

        AccessToken accessTokenMock = owner.createMock(AccessToken.class);
        expect(accessTokenMock.getAccessToken()).andReturn(accessToken).anyTimes();

        // This is also hard-coded since we aren't using anything els.e
        expect(accessTokenMock.getAccessTokenType()).andReturn(TokenType.BEARER).anyTimes();

        // The expiry date of the token is always set some time in the future.