public function protectedDependencyNotVisibleToTheCaller()
{
$this->beanFactory = new AnnotationBeanFactory(BeanConfigurationWithProtectedMethod::class);
BeanFactoryRegistry::register($this->beanFactory);
self::assertFalse($this->beanFactory->has('singletonDependency'));
}