public void to_key_by_expression() { ChannelGraph.ToKey <ChannelSettings>(x => x.Outbound) .ShouldEqual("Channel:Outbound"); }