main
 1using developwithpassion.bdd.contexts;
 2using developwithpassion.bdd.mbunit;
 3using developwithpassion.bdd.mbunit.standard.observations;
 4using mars.rover.domain;
 5using Rhino.Mocks;
 6
 7namespace specifications.domain
 8{
 9    public class NASASpecs
10    {
11    }
12
13    public class when_retrieving_the_last_deployed_rover : observations_for_a_sut_without_a_contract<NASA>
14    {
15        it should_return_the_last_deployed_rover = () => result.should_be_equal_to(rover);
16
17        context c =
18            () => { rover = MockRepository.GenerateMock<Rover>(new Coordinate(0), new Coordinate(0), an<Heading>()); };
19
20        because b = () =>
21                        {
22                            sut.deploy(rover);
23                            result = sut.waiting();
24                        };
25
26        static Rover rover;
27        static Rover result;
28    }
29}