3
的多个属性有没有办法做这样的事情使用FluentAssertionsFluentAssertions断言一个对象
response.Satisfy(r =>
r.Property1== "something" &&
r.Property2== "anotherthing"));
我试图避免编写多个断言语句。这是我用了最长时间的https://sharptestex.codeplex.com/。但是SharpTestEx不支持.Net Core。
我应该做这验证主题的多个属性? –