Given:
I have MavenResolverSystem instance retrieved via Maven.resolver() call.
When:
I want to debug internals of the system.
Expect:
Instance can be type-casted to MavenWorkingSessionContainer, which allows to get direct access to the session that can later be investigated - loaded dependency management, dependencies to be resolved and so on.
Actual behavior:
Cast fails, as MavenResolverySystemImpl does not implement MavenWorkingSessionContainer, although it internally contains the session.