BAEL-4290: fixed tests (#10632)
This commit is contained in:
parent
00482852bd
commit
7b7324f6fc
|
@ -40,7 +40,7 @@ public class EligibleForAutoProxyingIntegrationTest {
|
|||
|
||||
@Test
|
||||
public void givenAutowireInBeanPostProcessor_whenSpringContextInitialize_thenNotEligibleLogShouldShowAndGroupFieldPopulated() {
|
||||
List<ILoggingEvent> notEligibleEvents = memoryAppender.search("Bean 'randomIntGenerator' of type [com.baeldung.autoproxying.RandomIntGenerator] " +
|
||||
List<ILoggingEvent> notEligibleEvents = memoryAppender.search("Bean 'randomIntGenerator' of type [com.baeldung.component.autoproxying.RandomIntGenerator] " +
|
||||
"is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)");
|
||||
|
||||
assertEquals(0, notEligibleEvents.size());
|
||||
|
|
|
@ -39,7 +39,7 @@ public class NotEligibleForAutoProxyingIntegrationTest {
|
|||
|
||||
@Test
|
||||
public void givenAutowireInBeanPostProcessor_whenSpringContextInitialize_thenNotEligibleLogShouldShowAndGroupFieldNotPopulated() {
|
||||
List<ILoggingEvent> notEligibleEvents = memoryAppender.search("Bean 'randomIntGenerator' of type [com.baeldung.autoproxying.RandomIntGenerator] " +
|
||||
List<ILoggingEvent> notEligibleEvents = memoryAppender.search("Bean 'randomIntGenerator' of type [com.baeldung.component.autoproxying.RandomIntGenerator] " +
|
||||
"is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)");
|
||||
|
||||
assertEquals(1, notEligibleEvents.size());
|
||||
|
|
Loading…
Reference in New Issue