public void ItShouldSubscribeToFileCopierStatusUpdate() { FileCopier.AssertWasCalled(c => c.StatusUpdate += PodcastSynchronizerStatusUpdate); }
public void ItShouldUseTheFileCopierToCopyTheFiles() { FileCopier.AssertWasCalled( c => c.CopyFilesToTarget(null, null, null, 0, false), o => o.Constraints(Is.NotNull(), Is.Equal(@"c:\media\blah"), Is.Equal(@"k:\podcasts"), Is.Equal(500L), Is.Equal(false))); }