Package com.groupon.jenkins.util

Examples of com.groupon.jenkins.util.AuthenticationMixin


        verify(parentView).doCreateItem(null, null);
    }

    @Test
    public void should_automatically_log_user_in_when_accessed() throws IOException, ServletException {
        AuthenticationMixin authMixin = mock(AuthenticationMixin.class);
        doReturn(authMixin).when(myBuildsView).makeAuthenticationMixin();
        myBuildsView.getTarget();
        verify(authMixin).authenticate();
    }
View Full Code Here


        makeAuthenticationMixin().authenticate();
        return this;
    }

    protected AuthenticationMixin makeAuthenticationMixin() {
        return new AuthenticationMixin();
    }
View Full Code Here

TOP

Related Classes of com.groupon.jenkins.util.AuthenticationMixin

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.