Beispiel #1
0
        public void Setup()
        {
            _module = Substitute.For <IVsrModule>();
            _module.ReEncodeStringFromLossless(Arg.Any <string>()).Returns(x => x[0]);
            _module.ReEncodeCommitMessage(Arg.Any <string>(), Arg.Any <string>()).Returns(x => x[0]);

            _getModule         = () => _module;
            _commitDataManager = new CommitDataManager(_getModule);
        }