[INFO] Scanning for projects... [INFO] [INFO] ------------------< com.ankurm:testing-no-containers >------------------ [INFO] Building testing-no-containers 1.0.0 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.5.0:clean (default-clean) @ testing-no-containers --- [INFO] Deleting /home/claude/spring-boot-demo/testing-no-containers/target [INFO] [INFO] --- resources:3.5.0:resources (default-resources) @ testing-no-containers --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] Copying 0 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.15.0:compile (default-compile) @ testing-no-containers --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 5 source files with javac [debug parameters release 25] to target/classes [INFO] [INFO] --- resources:3.5.0:testResources (default-testResources) @ testing-no-containers --- [INFO] Copying 1 resource from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ testing-no-containers --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 5 source files with javac [debug parameters release 25] to target/test-classes [INFO] [INFO] --- surefire:3.5.6:test (default-test) @ testing-no-containers --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.ankurm.testingnc.GreetingMockitoSpyBeanCTest 11:38:03.291 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [com.ankurm.testingnc.GreetingMockitoSpyBeanCTest]: GreetingMockitoSpyBeanCTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 11:38:03.537 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration com.ankurm.testingnc.Application for test class com.ankurm.testingnc.GreetingMockitoSpyBeanCTest 11:38:03.669 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [com.ankurm.testingnc.GreetingMockitoSpyBeanCTest]: GreetingMockitoSpyBeanCTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 11:38:03.675 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration com.ankurm.testingnc.Application for test class com.ankurm.testingnc.GreetingMockitoSpyBeanCTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v4.1.1) 2026-10-08T11:38:04.369+05:30 INFO 12851 --- [ main] c.a.t.GreetingMockitoSpyBeanCTest : Starting GreetingMockitoSpyBeanCTest using Java 25.0.4.1.1 with PID 12851 (started by root in /home/claude/spring-boot-demo/testing-no-containers) 2026-10-08T11:38:04.384+05:30 INFO 12851 --- [ main] c.a.t.GreetingMockitoSpyBeanCTest : No active profile set, falling back to 1 default profile: "default" Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 2026-10-08T11:38:08.474+05:30 INFO 12851 --- [ main] c.a.t.GreetingMockitoSpyBeanCTest : Started GreetingMockitoSpyBeanCTest in 4.697 seconds (process running for 6.96) 2026-10-08T11:38:08.478+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 0, parentContextCount = 0, hitCount = 0, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.490+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 1, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.494+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 2, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.497+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 3, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.515+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 4, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.516+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 5, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.520+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 6, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.641+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 7, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.648+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 8, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.651+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 9, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.680+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 10, missCount = 1, failureCount = 0] 2026-10-08T11:38:08.681+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 1, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 11, missCount = 1, failureCount = 0] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.760 s -- in com.ankurm.testingnc.GreetingMockitoSpyBeanCTest [INFO] Running com.ankurm.testingnc.GreetingMockitoBeanBTest 2026-10-08T11:38:08.750+05:30 INFO 12851 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.ankurm.testingnc.GreetingMockitoBeanBTest]: GreetingMockitoBeanBTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-10-08T11:38:08.784+05:30 INFO 12851 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.ankurm.testingnc.Application for test class com.ankurm.testingnc.GreetingMockitoBeanBTest 2026-10-08T11:38:08.787+05:30 INFO 12851 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.ankurm.testingnc.GreetingMockitoBeanBTest]: GreetingMockitoBeanBTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-10-08T11:38:08.802+05:30 INFO 12851 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.ankurm.testingnc.Application for test class com.ankurm.testingnc.GreetingMockitoBeanBTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v4.1.1) 2026-10-08T11:38:08.975+05:30 INFO 12851 --- [ main] c.a.testingnc.GreetingMockitoBeanBTest : Starting GreetingMockitoBeanBTest using Java 25.0.4.1.1 with PID 12851 (started by root in /home/claude/spring-boot-demo/testing-no-containers) 2026-10-08T11:38:08.976+05:30 INFO 12851 --- [ main] c.a.testingnc.GreetingMockitoBeanBTest : No active profile set, falling back to 1 default profile: "default" 2026-10-08T11:38:09.726+05:30 INFO 12851 --- [ main] c.a.testingnc.GreetingMockitoBeanBTest : Started GreetingMockitoBeanBTest in 0.865 seconds (process running for 8.212) 2026-10-08T11:38:09.728+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 0, parentContextCount = 0, hitCount = 11, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.730+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 12, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.732+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 13, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.734+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 14, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.745+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 15, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.745+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 16, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.756+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 17, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.775+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 18, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.776+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 19, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.781+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 20, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.788+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 21, missCount = 2, failureCount = 0] 2026-10-08T11:38:09.788+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 22, missCount = 2, failureCount = 0] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.043 s -- in com.ankurm.testingnc.GreetingMockitoBeanBTest [INFO] Running com.ankurm.testingnc.QuoteClientMockWebServerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.715 s -- in com.ankurm.testingnc.QuoteClientMockWebServerTest [INFO] Running com.ankurm.testingnc.QuoteClientWireMockTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.049 s -- in com.ankurm.testingnc.QuoteClientWireMockTest [INFO] Running com.ankurm.testingnc.GreetingMockitoBeanATest 2026-10-08T11:38:12.659+05:30 INFO 12851 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.ankurm.testingnc.GreetingMockitoBeanATest]: GreetingMockitoBeanATest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-10-08T11:38:12.663+05:30 INFO 12851 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.ankurm.testingnc.Application for test class com.ankurm.testingnc.GreetingMockitoBeanATest 2026-10-08T11:38:12.666+05:30 INFO 12851 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.ankurm.testingnc.GreetingMockitoBeanATest]: GreetingMockitoBeanATest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-10-08T11:38:12.667+05:30 INFO 12851 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.ankurm.testingnc.Application for test class com.ankurm.testingnc.GreetingMockitoBeanATest 2026-10-08T11:38:12.670+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 0, parentContextCount = 0, hitCount = 23, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.672+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 24, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.674+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 25, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.675+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 26, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.697+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 27, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.700+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 28, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.701+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 29, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.703+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 30, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.706+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 31, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.707+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 32, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.708+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 33, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.710+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 34, missCount = 2, failureCount = 0] 2026-10-08T11:38:12.710+05:30 DEBUG 12851 --- [ main] org.springframework.test.context.cache : Spring test ApplicationContext cache statistics: [DefaultContextCache@6113a26f size = 2, maxSize = 32, contextUsageCount = 1, parentContextCount = 0, hitCount = 35, missCount = 2, failureCount = 0] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s -- in com.ankurm.testingnc.GreetingMockitoBeanATest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.314 s [INFO] Finished at: 2026-10-08T11:38:13+05:30 [INFO] ------------------------------------------------------------------------