public void Compress() { Action <ZipCompress> action = x => x.To("test"); _subject.Compress(action); _mock.AssertWasCalled(x => x.Execute(action)); }
public void GoogleCode() { Action <GoogleCode> action = x => x.ProjectName("test"); _subject.ToGoogleCode(action); _excecutor.AssertWasCalled(x => x.Execute(action)); }
public void Library() { _subject.Library(_action); _actionExcecutor.AssertWasCalled(x => x.Execute(_action, "csc.exe", "library")); }
public void ShouldExecute() { _subject.InternalExecute(); _mockExecutor.AssertWasCalled(x => x.Execute(Arg <Func <Executable, object> > .Is.Anything)); }