Beispiel #1
0
        public void ArtifactCopyShouldRenameFile()
        {
            var destinationArtifact = new Core.File(_destination);

            _copyEngine.To(destinationArtifact);
            _fileSystemWrapper.AssertWasCalled(x => x.Copy(_source, _destination));
        }
Beispiel #2
0
 public void ToShouldCallWrapper()
 {
     _subject.To(_destination);
     _fileSystemWrapper.AssertWasCalled(x => x.MoveFile(_source, _destination));
 }