### Question:
PrototypeDemo { @Bean(name = "blog2") @Scope("prototype") public Blog getBlog() { return new Blog(); }  @Bean(name = "blog2") @Scope("prototype") Blog getBlog();  }### Answer:
@Test void getBlog() { Blog blogInstance1 = applicationContext.getBean("blog2", Blog.class); Blog blogInstance2 = applicationContext.getBean("blog2", Blog.class); assertThat(blogInstance1).isNotEqualTo(blogInstance2); }