public void state_id_getter() { var state = new MySagaState { Id = Guid.NewGuid() }; objectDef.FindDependencyValueFor <Func <MySagaState, Guid> >() (state).ShouldEqual(state.Id); }