Package org.sonatype.nexus.httpclient

Examples of org.sonatype.nexus.httpclient.HttpClientFactory


  }

  private KenaiRealm getRealm()
      throws Exception
  {
    final HttpClientFactory mockHttpClientFactory = Mockito.mock(HttpClientFactory.class);
    Mockito.when(mockHttpClientFactory.create()).thenReturn(new DefaultHttpClient());
    return new KenaiRealm(getKenaiRealmConfiguration(), mockHttpClientFactory);
  }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.httpclient.HttpClientFactory

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.