private TfsChangesetInfo ChangesetForRemote(string remoteId) { var mockRemote = mocks.AddAdditionalMockFor <IGitTfsRemote>(); mockRemote.Stub(x => x.Id).Return(remoteId); return(new TfsChangesetInfo() { Remote = mockRemote }); }
private TfsChangesetInfo ChangesetForRemote(string remoteId) { var mockRemote = mocks.AddAdditionalMockFor <IGitTfsRemote>(); mockRemote.Stub(x => x.Id).Return(remoteId); return(new TfsChangesetInfo() { Remote = mockRemote }); }