Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 327 Bytes

v3.md

File metadata and controls

24 lines (18 loc) · 327 Bytes

v3

From:

var hypothesis = Hypothesis
    .For<Data>()
    .Any(x => x.Value == 1234);

await hypothesis.Validate(15.Seconds());

To:

var observer = new Observer<Data>();

await Hypothesis
    .On(observer)
    .Within(15.Seconds());
    .Any()
    .Match(x => x.Value == 1234)
    .Validate();