public void SetUp() { _restClient = MockRepository.GenerateMock <IEnterpriseBitbucketRestClient>(); var connection = new Connection( new Uri("http://url.com"), new Uri("http://api.url.com"), new Credentials("Login", "Password") ); Mapper.Initialize(cfg => { cfg.AddProfile <EnterpriseToStandardMappingsProfile>(); }); _sut = new EnterpriseRepositoriesClient(_restClient, connection); }
public EnterpriseRepositoriesClient(IEnterpriseBitbucketRestClient restClient, Connection connection) : base(restClient, connection) { }
public EnterpriseTeamsClient(IEnterpriseBitbucketRestClient restClient, Connection connection) : base(restClient, connection) { }
public EnterprisePullRequestsClient(IEnterpriseBitbucketRestClient restClient, Connection connection) : base(restClient, connection) { }