Trait ferrous::dsl::AsyncAssertion
[−]
[src]
pub trait AsyncAssertion<A> { fn should<M: Matcher<A>>(self, matcher: M); fn should_not<M: Matcher<A>>(self, matcher: M); }
Trait mapping to/not_to to should/should_not for better readability.
Required Methods
fn should<M: Matcher<A>>(self, matcher: M)
Positive assertion with the given matcher.
fn should_not<M: Matcher<A>>(self, matcher: M)
Negative assertion with the given matcher.