I'm trying to adopt fscheck, but have a very hard time as there is no much documentation for C#. Can you explain, why the following example of using When combinator for properties fails (evidently, I don't understand how to use it properly)?
[Test]
public void WherePorperty()
{
Prop.ForAll(NotNullString().ToArbitrary(), s=>s.StartsWith("A").When(s.StartsWith("A"))).VerboseCheckThrowOnFailure();
}
public Gen<string> NotNullString()
{
return Arb.Generate<string>().Where(s => s != null);
}