beanContainer.getBeanByType(..) works from Main but not from test

Printable View