ScpClientTestBase.cs 737 B

12345678910111213141516171819202122
  1. using Moq;
  2. using Renci.SshNet.Channels;
  3. using Renci.SshNet.Common;
  4. namespace Renci.SshNet.Tests.Classes
  5. {
  6. public abstract class ScpClientTestBase : BaseClientTestBase
  7. {
  8. internal Mock<IRemotePathTransformation> _remotePathTransformationMock;
  9. internal Mock<IChannelSession> _channelSessionMock;
  10. internal Mock<PipeStream> _pipeStreamMock;
  11. protected override void CreateMocks()
  12. {
  13. base.CreateMocks();
  14. _remotePathTransformationMock = new Mock<IRemotePathTransformation>(MockBehavior.Strict);
  15. _channelSessionMock = new Mock<IChannelSession>(MockBehavior.Strict);
  16. _pipeStreamMock = new Mock<PipeStream>(MockBehavior.Strict);
  17. }
  18. }
  19. }