@absolunet/ioc2.1.0

View on GitHub

Bindings

Methods

expectBound(abstract, boundopt)

Source:
Assert that the abstract is bound to the container.
Parameters:
Name Type Attributes Default Description
abstract string The abstract to check.
bound boolean <optional>
true Expected result.

expectNotBound(abstract)

Source:
Assert that the abstract is not bound to the container.
Parameters:
Name Type Description
abstract string The abstract to check.