Ejemplo n.º 1
0
        public void Compress()
        {
            Action <ZipCompress> action = x => x.To("test");

            _subject.Compress(action);
            _mock.AssertWasCalled(x => x.Execute(action));
        }
Ejemplo n.º 2
0
        public void GoogleCode()
        {
            Action <GoogleCode> action = x => x.ProjectName("test");

            _subject.ToGoogleCode(action);
            _excecutor.AssertWasCalled(x => x.Execute(action));
        }
Ejemplo n.º 3
0
 public void Library()
 {
     _subject.Library(_action);
     _actionExcecutor.AssertWasCalled(x => x.Execute(_action, "csc.exe", "library"));
 }
Ejemplo n.º 4
0
 public void ShouldExecute()
 {
     _subject.InternalExecute();
     _mockExecutor.AssertWasCalled(x => x.Execute(Arg <Func <Executable, object> > .Is.Anything));
 }