public void StringCorrelationId()
 {
     var expression = MessagePropertyMapper<SagaWithStringCorrelationId.SagaData>.GetExpression(typeof(SagaWithStringCorrelationId));;
     var instance = new SagaWithStringCorrelationId.SagaData
     {
         CorrelationProperty = "Foo"
     };
     var property = expression.Compile()(instance);
     Assert.AreEqual("Foo", property);
 }
    public void StringCorrelationId()
    {
        var expression = new SagaWithStringCorrelationId().GetExpression();
        var instance   = new SagaWithStringCorrelationId.SagaData
        {
            CorrelationProperty = "Foo"
        };
        var property = expression.Compile()(instance);

        Assert.AreEqual("Foo", property);
    }