I have a parameterized test with the following property names passed to it:
<code>[TestCase("customerId")]
[TestCase("connectionType")]
public void CanSearchClientsOrderedByProperties(string property)
</code>
<code>[TestCase("customerId")]
[TestCase("connectionType")]
public void CanSearchClientsOrderedByProperties(string property)
</code>
[TestCase("customerId")]
[TestCase("connectionType")]
public void CanSearchClientsOrderedByProperties(string property)
I cannot figure out how to pass the property name in the assertion expression below:
<code>searchResponse.Items.Should().BeInAscendingOrder(i => i.{How to use property name here?});
</code>
<code>searchResponse.Items.Should().BeInAscendingOrder(i => i.{How to use property name here?});
</code>
searchResponse.Items.Should().BeInAscendingOrder(i => i.{How to use property name here?});