public void ArtifactCopyShouldRenameFile() { var destinationArtifact = new Core.File(_destination); _copyEngine.To(destinationArtifact); _fileSystemWrapper.AssertWasCalled(x => x.Copy(_source, _destination)); }
public void ToShouldCallWrapper() { _subject.To(_destination); _fileSystemWrapper.AssertWasCalled(x => x.MoveFile(_source, _destination)); }