doesNotHaveBean<T extends Object> function
Matcher
doesNotHaveBean<T extends Object>()
Matches a context with no bean of type T, parent contexts included:
checks that a configuration backed off or a condition did not match.
Takes the same contexts as hasSingleBean. AssertJ's
doesNotHaveBean.
Implementation
Matcher doesNotHaveBean<T extends Object>() =>
_BeanCount<T>((count) => count == 0, 'no bean of $T');