test for multilevel demeter chain
getter method for Container::_mocks