I have the following Fluent Assertion which i would like to put in an if statement. I get an error saying I cannot implicitly convert type to bool.
I have tried to explicitly cast it but i still get an error saying cannot convert type to bool.
actors.Cast.Should().Contain(actor => actor.Name == "Emilia Clark");
What would be the best way to check if the statement above is true?