Test methods of creating beans in Spring Framework.