Question from the Spring test

A spring bean can change scope at runtime