remove extra classes

This commit is contained in:
Loredana Crusoveanu
2018-06-24 19:16:02 +03:00
parent 1cea9ee088
commit c19dfa510a
6 changed files with 25 additions and 65 deletions
@@ -1,7 +1,6 @@
package com.baeldung.scope;
import com.baeldung.scope.prototype.PrototypeBean;
import com.baeldung.scope.prototype.PrototypeBeanWithParam;
import com.baeldung.scope.singletone.SingletonFunctionBean;
import com.baeldung.scope.singletone.SingletonLookupBean;
import com.baeldung.scope.singletone.SingletonObjectFactoryBean;
@@ -70,8 +69,8 @@ public class PrototypeBeanInjectionIntegrationTest {
SingletonFunctionBean firstContext = context.getBean(SingletonFunctionBean.class);
SingletonFunctionBean secondContext = context.getBean(SingletonFunctionBean.class);
PrototypeBeanWithParam firstInstance = firstContext.getPrototypeInstance("instance1");
PrototypeBeanWithParam secondInstance = secondContext.getPrototypeInstance("instance2");
PrototypeBean firstInstance = firstContext.getPrototypeInstance("instance1");
PrototypeBean secondInstance = secondContext.getPrototypeInstance("instance2");
Assert.assertTrue("New instance expected", firstInstance != secondInstance);
}