Esempio n. 1
0
        public void Should_Throw_If_Process_Was_Not_Started()
        {
            // Given
            var fixture = new VagrantFixture(r => r.Up());

            fixture.GivenProcessCannotStart();
            var action = new Action(() => fixture.Run());

            action.ShouldThrow <CakeException>().WithMessage("Vagrant by Hashicorp: Process was not started.");
        }