protected override void Because_of()
 {
     //save to file
     BinaryStateSerializer.Save();
     //create new serializer, and get loaded state
     BinaryStateSerializer = new BinaryStateSerializer(Logger.Object);
     //save loaded state
     restoredState = BinaryStateSerializer.CurrentState;
 }
        protected override void Establish_context()
        {
            base.Establish_context();

            Logger = new Mock<ILogger>();
            BinaryStateSerializer = new BinaryStateSerializer(Logger.Object);
        }