hasBeanNamed function

Matcher hasBeanNamed(
  1. String name
)

Matches a context that contains a bean called name (or an alias of that name), in itself or a parent context. Takes the same contexts as hasSingleBean.

Implementation

Matcher hasBeanNamed(String name) => _HasBeanNamed(name);