protected override void beforeEach()
 {
     theMessage = new BumpSpecDate
     {
         id         = "targetSpec",
         timePeriod = 6
     };
     theSpecification = new Specification
     {
         id = "targetSpec",
         ExpirationPeriod = 0
     };
     theController = MockFor <IPersistenceController>();
     theController.Stub(x => x.LoadSpecificationById(theMessage.id)).Return(theSpecification);
     ClassUnderTest.HandleMessage(theMessage);
 }
        public BumpSpecDateCommandTester()
        {
            theMessage = new BumpSpecDate
            {
                id         = "targetSpec",
                timePeriod = 6
            };
            theSpecification = new Specification
            {
                id = "targetSpec",
                ExpirationPeriod = 0
            };

            theController = MockFor <IPersistenceController>();
            theController.LoadSpecificationById(theMessage.id).Returns(theSpecification);

            ClassUnderTest.HandleMessage(theMessage);
        }