test: add integration tests for TodoController and update test configuration.
All checks were successful
Release and Build Docker Images / release-and-build (push) Successful in 1m26s

This commit is contained in:
almazlar
2026-02-21 12:17:12 +03:00
parent 90b381823a
commit c32e321d3a
8 changed files with 1082 additions and 0 deletions

37
backend/jar_contents.txt Normal file
View File

@@ -0,0 +1,37 @@
META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE.txt
META-INF/NOTICE.txt
org/
org/springframework/
org/springframework/boot/
org/springframework/boot/test/
org/springframework/boot/test/autoconfigure/
org/springframework/boot/test/autoconfigure/OnFailureConditionReportContextCustomizerFactory$ApplicationFailureListener.class
org/springframework/boot/test/autoconfigure/OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer.class
org/springframework/boot/test/autoconfigure/OnFailureConditionReportContextCustomizerFactory.class
org/springframework/boot/test/autoconfigure/OverrideAutoConfiguration.class
org/springframework/boot/test/autoconfigure/OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer.class
org/springframework/boot/test/autoconfigure/OverrideAutoConfigurationContextCustomizerFactory.class
org/springframework/boot/test/autoconfigure/TestSliceTestContextBootstrapper.class
org/springframework/boot/test/autoconfigure/package-info.class
org/springframework/boot/test/autoconfigure/jdbc/
org/springframework/boot/test/autoconfigure/jdbc/AutoConfigureDataSourceInitialization.class
org/springframework/boot/test/autoconfigure/jdbc/package-info.class
org/springframework/boot/test/autoconfigure/json/
org/springframework/boot/test/autoconfigure/json/AutoConfigureJson.class
org/springframework/boot/test/autoconfigure/json/AutoConfigureJsonTesters.class
org/springframework/boot/test/autoconfigure/json/ConditionalOnJsonTesters.class
org/springframework/boot/test/autoconfigure/json/JsonMarshalTesterRuntimeHints.class
org/springframework/boot/test/autoconfigure/json/JsonTest.class
org/springframework/boot/test/autoconfigure/json/JsonTestContextBootstrapper.class
org/springframework/boot/test/autoconfigure/json/JsonTesterFactoryBean.class
org/springframework/boot/test/autoconfigure/json/JsonTestersAutoConfiguration$BasicJsonTesterRuntimeHints.class
org/springframework/boot/test/autoconfigure/json/JsonTestersAutoConfiguration$JsonMarshalTestersBeanPostProcessor.class
org/springframework/boot/test/autoconfigure/json/JsonTestersAutoConfiguration.class
org/springframework/boot/test/autoconfigure/json/JsonTypeExcludeFilter.class
org/springframework/boot/test/autoconfigure/json/package-info.class
META-INF/spring-configuration-metadata.json
META-INF/spring.factories
META-INF/spring/
META-INF/spring/org.springframework.boot.test.autoconfigure.json.AutoConfigureJsonTesters.imports

View File

@@ -50,6 +50,11 @@
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa-test</artifactId>

View File

@@ -0,0 +1,729 @@
META-INF/
META-INF/MANIFEST.MF
org/
org/springframework/
org/springframework/mock/
org/springframework/mock/env/
org/springframework/mock/env/MockEnvironment.class
org/springframework/mock/env/MockPropertySource.class
org/springframework/mock/env/package-info.class
org/springframework/mock/http/
org/springframework/mock/http/MockHttpInputMessage.class
org/springframework/mock/http/MockHttpOutputMessage.class
org/springframework/mock/http/package-info.class
org/springframework/mock/http/client/
org/springframework/mock/http/client/MockClientHttpRequest.class
org/springframework/mock/http/client/MockClientHttpResponse.class
org/springframework/mock/http/client/package-info.class
org/springframework/mock/http/client/reactive/
org/springframework/mock/http/client/reactive/MockClientHttpRequest.class
org/springframework/mock/http/client/reactive/MockClientHttpResponse.class
org/springframework/mock/http/client/reactive/package-info.class
org/springframework/mock/http/server/
org/springframework/mock/http/server/reactive/
org/springframework/mock/http/server/reactive/MockServerHttpRequest$BaseBuilder.class
org/springframework/mock/http/server/reactive/MockServerHttpRequest$BodyBuilder.class
org/springframework/mock/http/server/reactive/MockServerHttpRequest$DefaultBodyBuilder.class
org/springframework/mock/http/server/reactive/MockServerHttpRequest.class
org/springframework/mock/http/server/reactive/MockServerHttpResponse.class
org/springframework/mock/http/server/reactive/package-info.class
org/springframework/mock/web/
org/springframework/mock/web/DelegatingServletInputStream.class
org/springframework/mock/web/DelegatingServletOutputStream.class
org/springframework/mock/web/HeaderValueHolder.class
org/springframework/mock/web/MockAsyncContext.class
org/springframework/mock/web/MockBodyContent.class
org/springframework/mock/web/MockCookie.class
org/springframework/mock/web/MockFilterChain$ServletFilterProxy.class
org/springframework/mock/web/MockFilterChain.class
org/springframework/mock/web/MockFilterConfig.class
org/springframework/mock/web/MockFilterRegistration.class
org/springframework/mock/web/MockHttpServletMapping.class
org/springframework/mock/web/MockHttpServletRequest$1.class
org/springframework/mock/web/MockHttpServletRequest.class
org/springframework/mock/web/MockHttpServletResponse$ResponsePrintWriter.class
org/springframework/mock/web/MockHttpServletResponse$ResponseServletOutputStream.class
org/springframework/mock/web/MockHttpServletResponse.class
org/springframework/mock/web/MockHttpSession.class
org/springframework/mock/web/MockJspWriter.class
org/springframework/mock/web/MockMultipartFile.class
org/springframework/mock/web/MockMultipartHttpServletRequest.class
org/springframework/mock/web/MockPageContext.class
org/springframework/mock/web/MockPart.class
org/springframework/mock/web/MockRequestDispatcher.class
org/springframework/mock/web/MockServletConfig.class
org/springframework/mock/web/MockServletContext.class
org/springframework/mock/web/MockSessionCookieConfig.class
org/springframework/mock/web/PassThroughFilterChain.class
org/springframework/mock/web/package-info.class
org/springframework/mock/web/reactive/
org/springframework/mock/web/reactive/function/
org/springframework/mock/web/reactive/function/server/
org/springframework/mock/web/reactive/function/server/MockServerRequest$Builder.class
org/springframework/mock/web/reactive/function/server/MockServerRequest$BuilderImpl.class
org/springframework/mock/web/reactive/function/server/MockServerRequest$MockHeaders.class
org/springframework/mock/web/reactive/function/server/MockServerRequest.class
org/springframework/mock/web/reactive/function/server/package-info.class
org/springframework/mock/web/server/
org/springframework/mock/web/server/MockServerWebExchange$Builder.class
org/springframework/mock/web/server/MockServerWebExchange.class
org/springframework/mock/web/server/MockWebSession.class
org/springframework/mock/web/server/package-info.class
org/springframework/test/
org/springframework/test/annotation/
org/springframework/test/annotation/Commit.class
org/springframework/test/annotation/DirtiesContext$ClassMode.class
org/springframework/test/annotation/DirtiesContext$HierarchyMode.class
org/springframework/test/annotation/DirtiesContext$MethodMode.class
org/springframework/test/annotation/DirtiesContext.class
org/springframework/test/annotation/IfProfileValue.class
org/springframework/test/annotation/ProfileValueSource.class
org/springframework/test/annotation/ProfileValueSourceConfiguration.class
org/springframework/test/annotation/ProfileValueUtils.class
org/springframework/test/annotation/Repeat.class
org/springframework/test/annotation/Rollback.class
org/springframework/test/annotation/SystemProfileValueSource.class
org/springframework/test/annotation/TestAnnotationUtils.class
org/springframework/test/annotation/Timed.class
org/springframework/test/annotation/package-info.class
org/springframework/test/context/
org/springframework/test/context/ActiveProfiles.class
org/springframework/test/context/ActiveProfilesResolver.class
org/springframework/test/context/ApplicationContextFailureProcessor.class
org/springframework/test/context/BootstrapContext.class
org/springframework/test/context/BootstrapUtils.class
org/springframework/test/context/BootstrapWith.class
org/springframework/test/context/CacheAwareContextLoaderDelegate.class
org/springframework/test/context/ContextConfiguration.class
org/springframework/test/context/ContextConfigurationAttributes.class
org/springframework/test/context/ContextCustomizer.class
org/springframework/test/context/ContextCustomizerFactories$MergeMode.class
org/springframework/test/context/ContextCustomizerFactories.class
org/springframework/test/context/ContextCustomizerFactory.class
org/springframework/test/context/ContextHierarchy.class
org/springframework/test/context/ContextLoadException.class
org/springframework/test/context/ContextLoader.class
org/springframework/test/context/DefaultMethodInvoker.class
org/springframework/test/context/DynamicPropertyRegistrar.class
org/springframework/test/context/DynamicPropertyRegistry.class
org/springframework/test/context/DynamicPropertySource.class
org/springframework/test/context/MergedContextConfiguration.class
org/springframework/test/context/MethodInvoker.class
org/springframework/test/context/NestedTestConfiguration$EnclosingConfiguration.class
org/springframework/test/context/NestedTestConfiguration.class
org/springframework/test/context/SmartContextLoader.class
org/springframework/test/context/TestConstructor$AutowireMode.class
org/springframework/test/context/TestConstructor.class
org/springframework/test/context/TestContext.class
org/springframework/test/context/TestContextAnnotationUtils$AnnotationDescriptor.class
org/springframework/test/context/TestContextAnnotationUtils$UntypedAnnotationDescriptor.class
org/springframework/test/context/TestContextAnnotationUtils.class
org/springframework/test/context/TestContextBootstrapper.class
org/springframework/test/context/TestContextManager.class
org/springframework/test/context/TestExecutionListener.class
org/springframework/test/context/TestExecutionListeners$MergeMode.class
org/springframework/test/context/TestExecutionListeners.class
org/springframework/test/context/TestPropertySource.class
org/springframework/test/context/TestPropertySources.class
org/springframework/test/context/package-info.class
org/springframework/test/context/aot/
org/springframework/test/context/aot/AotContextLoader.class
org/springframework/test/context/aot/AotTestAttributes.class
org/springframework/test/context/aot/AotTestAttributesCodeGenerator.class
org/springframework/test/context/aot/AotTestAttributesFactory.class
org/springframework/test/context/aot/AotTestContextInitializers.class
org/springframework/test/context/aot/AotTestContextInitializersCodeGenerator.class
org/springframework/test/context/aot/AotTestContextInitializersFactory.class
org/springframework/test/context/aot/AotTestExecutionListener.class
org/springframework/test/context/aot/DefaultAotTestAttributes.class
org/springframework/test/context/aot/DisabledInAotMode.class
org/springframework/test/context/aot/DisabledInAotModeCondition.class
org/springframework/test/context/aot/GeneratedMapUtils.class
org/springframework/test/context/aot/MergedContextConfigurationRuntimeHints.class
org/springframework/test/context/aot/TestAotProcessor.class
org/springframework/test/context/aot/TestClassScanner.class
org/springframework/test/context/aot/TestContextAotException.class
org/springframework/test/context/aot/TestContextAotGenerator.class
org/springframework/test/context/aot/TestContextGenerationContext.class
org/springframework/test/context/aot/TestRuntimeHintsRegistrar.class
org/springframework/test/context/aot/package-info.class
org/springframework/test/context/bean/
org/springframework/test/context/bean/override/
org/springframework/test/context/bean/override/BeanOverride.class
org/springframework/test/context/bean/override/BeanOverrideBeanFactoryPostProcessor$1.class
org/springframework/test/context/bean/override/BeanOverrideBeanFactoryPostProcessor.class
org/springframework/test/context/bean/override/BeanOverrideContextCustomizer.class
org/springframework/test/context/bean/override/BeanOverrideContextCustomizerFactory.class
org/springframework/test/context/bean/override/BeanOverrideHandler.class
org/springframework/test/context/bean/override/BeanOverrideProcessor.class
org/springframework/test/context/bean/override/BeanOverrideReflectiveProcessor.class
org/springframework/test/context/bean/override/BeanOverrideRegistry.class
org/springframework/test/context/bean/override/BeanOverrideStrategy.class
org/springframework/test/context/bean/override/BeanOverrideTestExecutionListener.class
org/springframework/test/context/bean/override/WrapEarlyBeanPostProcessor.class
org/springframework/test/context/bean/override/package-info.class
org/springframework/test/context/bean/override/convention/
org/springframework/test/context/bean/override/convention/TestBean.class
org/springframework/test/context/bean/override/convention/TestBeanOverrideHandler.class
org/springframework/test/context/bean/override/convention/TestBeanOverrideProcessor.class
org/springframework/test/context/bean/override/convention/TestBeanReflectiveProcessor.class
org/springframework/test/context/bean/override/convention/package-info.class
org/springframework/test/context/bean/override/mockito/
org/springframework/test/context/bean/override/mockito/AbstractMockitoBeanOverrideHandler.class
org/springframework/test/context/bean/override/mockito/MockBeans.class
org/springframework/test/context/bean/override/mockito/MockReset$ResetInvocationListener.class
org/springframework/test/context/bean/override/mockito/MockReset.class
org/springframework/test/context/bean/override/mockito/MockitoBean.class
org/springframework/test/context/bean/override/mockito/MockitoBeanOverrideHandler.class
org/springframework/test/context/bean/override/mockito/MockitoBeanOverrideProcessor.class
org/springframework/test/context/bean/override/mockito/MockitoBeans.class
org/springframework/test/context/bean/override/mockito/MockitoResetTestExecutionListener.class
org/springframework/test/context/bean/override/mockito/MockitoSpyBean.class
org/springframework/test/context/bean/override/mockito/MockitoSpyBeanOverrideHandler$SpringAopBypassingVerificationStartedListener.class
org/springframework/test/context/bean/override/mockito/MockitoSpyBeanOverrideHandler.class
org/springframework/test/context/bean/override/mockito/MockitoSpyBeans.class
org/springframework/test/context/bean/override/mockito/SpringMockResolver.class
org/springframework/test/context/bean/override/mockito/package-info.class
org/springframework/test/context/cache/
org/springframework/test/context/cache/AotMergedContextConfiguration.class
org/springframework/test/context/cache/ContextCache$LoadFunction.class
org/springframework/test/context/cache/ContextCache$PauseMode.class
org/springframework/test/context/cache/ContextCache.class
org/springframework/test/context/cache/ContextCacheUtils.class
org/springframework/test/context/cache/DefaultCacheAwareContextLoaderDelegate.class
org/springframework/test/context/cache/DefaultContextCache$1.class
org/springframework/test/context/cache/DefaultContextCache.class
org/springframework/test/context/cache/package-info.class
org/springframework/test/context/event/
org/springframework/test/context/event/AfterTestClassEvent.class
org/springframework/test/context/event/AfterTestExecutionEvent.class
org/springframework/test/context/event/AfterTestMethodEvent.class
org/springframework/test/context/event/ApplicationEvents.class
org/springframework/test/context/event/ApplicationEventsApplicationListener.class
org/springframework/test/context/event/ApplicationEventsHolder.class
org/springframework/test/context/event/ApplicationEventsTestExecutionListener$ApplicationEventsObjectFactory.class
org/springframework/test/context/event/ApplicationEventsTestExecutionListener.class
org/springframework/test/context/event/BeforeTestClassEvent.class
org/springframework/test/context/event/BeforeTestExecutionEvent.class
org/springframework/test/context/event/BeforeTestMethodEvent.class
org/springframework/test/context/event/DefaultApplicationEvents.class
org/springframework/test/context/event/EventPublishingTestExecutionListener.class
org/springframework/test/context/event/PrepareTestInstanceEvent.class
org/springframework/test/context/event/RecordApplicationEvents.class
org/springframework/test/context/event/TestContextEvent.class
org/springframework/test/context/event/package-info.class
org/springframework/test/context/event/annotation/
org/springframework/test/context/event/annotation/AfterTestClass.class
org/springframework/test/context/event/annotation/AfterTestExecution.class
org/springframework/test/context/event/annotation/AfterTestMethod.class
org/springframework/test/context/event/annotation/BeforeTestClass.class
org/springframework/test/context/event/annotation/BeforeTestExecution.class
org/springframework/test/context/event/annotation/BeforeTestMethod.class
org/springframework/test/context/event/annotation/PrepareTestInstance.class
org/springframework/test/context/event/annotation/package-info.class
org/springframework/test/context/hint/
org/springframework/test/context/hint/StandardTestRuntimeHints.class
org/springframework/test/context/hint/TestContextRuntimeHints.class
org/springframework/test/context/hint/package-info.class
org/springframework/test/context/jdbc/
org/springframework/test/context/jdbc/MergedSqlConfig.class
org/springframework/test/context/jdbc/Sql$ExecutionPhase.class
org/springframework/test/context/jdbc/Sql.class
org/springframework/test/context/jdbc/SqlConfig$ErrorMode.class
org/springframework/test/context/jdbc/SqlConfig$TransactionMode.class
org/springframework/test/context/jdbc/SqlConfig.class
org/springframework/test/context/jdbc/SqlGroup.class
org/springframework/test/context/jdbc/SqlMergeMode$MergeMode.class
org/springframework/test/context/jdbc/SqlMergeMode.class
org/springframework/test/context/jdbc/SqlScriptsTestExecutionListener.class
org/springframework/test/context/jdbc/package-info.class
org/springframework/test/context/junit/
org/springframework/test/context/junit/jupiter/
org/springframework/test/context/junit/jupiter/AbstractExpressionEvaluatingCondition.class
org/springframework/test/context/junit/jupiter/DisabledIf.class
org/springframework/test/context/junit/jupiter/DisabledIfCondition.class
org/springframework/test/context/junit/jupiter/EnabledIf.class
org/springframework/test/context/junit/jupiter/EnabledIfCondition.class
org/springframework/test/context/junit/jupiter/SpringExtension.class
org/springframework/test/context/junit/jupiter/SpringExtensionConfig.class
org/springframework/test/context/junit/jupiter/SpringJUnitConfig.class
org/springframework/test/context/junit/jupiter/package-info.class
org/springframework/test/context/junit/jupiter/web/
org/springframework/test/context/junit/jupiter/web/SpringJUnitWebConfig.class
org/springframework/test/context/junit/jupiter/web/package-info.class
org/springframework/test/context/junit4/
org/springframework/test/context/junit4/AbstractJUnit4SpringContextTests.class
org/springframework/test/context/junit4/AbstractTransactionalJUnit4SpringContextTests.class
org/springframework/test/context/junit4/SpringJUnit4ClassRunner$1.class
org/springframework/test/context/junit4/SpringJUnit4ClassRunner.class
org/springframework/test/context/junit4/SpringRunner.class
org/springframework/test/context/junit4/package-info.class
org/springframework/test/context/junit4/rules/
org/springframework/test/context/junit4/rules/SpringClassRule$TestContextManagerCacheEvictor.class
org/springframework/test/context/junit4/rules/SpringClassRule.class
org/springframework/test/context/junit4/rules/SpringMethodRule.class
org/springframework/test/context/junit4/rules/package-info.class
org/springframework/test/context/junit4/statements/
org/springframework/test/context/junit4/statements/ProfileValueChecker.class
org/springframework/test/context/junit4/statements/RunAfterTestClassCallbacks.class
org/springframework/test/context/junit4/statements/RunAfterTestExecutionCallbacks.class
org/springframework/test/context/junit4/statements/RunAfterTestMethodCallbacks.class
org/springframework/test/context/junit4/statements/RunBeforeTestClassCallbacks.class
org/springframework/test/context/junit4/statements/RunBeforeTestExecutionCallbacks.class
org/springframework/test/context/junit4/statements/RunBeforeTestMethodCallbacks.class
org/springframework/test/context/junit4/statements/RunPrepareTestInstanceCallbacks.class
org/springframework/test/context/junit4/statements/SpringFailOnTimeout.class
org/springframework/test/context/junit4/statements/SpringRepeat.class
org/springframework/test/context/junit4/statements/package-info.class
org/springframework/test/context/observation/
org/springframework/test/context/observation/MicrometerObservationRegistryTestExecutionListener.class
org/springframework/test/context/observation/package-info.class
org/springframework/test/context/support/
org/springframework/test/context/support/AbstractContextLoader.class
org/springframework/test/context/support/AbstractDelegatingSmartContextLoader.class
org/springframework/test/context/support/AbstractDirtiesContextTestExecutionListener.class
org/springframework/test/context/support/AbstractGenericContextLoader.class
org/springframework/test/context/support/AbstractTestContextBootstrapper.class
org/springframework/test/context/support/AbstractTestExecutionListener.class
org/springframework/test/context/support/ActiveProfilesUtils.class
org/springframework/test/context/support/AnnotationConfigContextLoader.class
org/springframework/test/context/support/AnnotationConfigContextLoaderUtils.class
org/springframework/test/context/support/ApplicationContextInitializerUtils.class
org/springframework/test/context/support/CommonCachesTestExecutionListener.class
org/springframework/test/context/support/ContextLoaderUtils.class
org/springframework/test/context/support/DefaultActiveProfilesResolver.class
org/springframework/test/context/support/DefaultBootstrapContext.class
org/springframework/test/context/support/DefaultTestContext.class
org/springframework/test/context/support/DefaultTestContextBootstrapper.class
org/springframework/test/context/support/DelegatingSmartContextLoader.class
org/springframework/test/context/support/DependencyInjectionTestExecutionListener.class
org/springframework/test/context/support/DirtiesContextBeforeModesTestExecutionListener.class
org/springframework/test/context/support/DirtiesContextTestExecutionListener.class
org/springframework/test/context/support/DynamicPropertiesContextCustomizer.class
org/springframework/test/context/support/DynamicPropertiesContextCustomizerFactory.class
org/springframework/test/context/support/DynamicPropertyRegistrarBeanInitializer.class
org/springframework/test/context/support/DynamicValuesPropertySource.class
org/springframework/test/context/support/GenericGroovyXmlContextLoader.class
org/springframework/test/context/support/GenericXmlContextLoader.class
org/springframework/test/context/support/MergedTestPropertySources.class
org/springframework/test/context/support/PropertyProvider.class
org/springframework/test/context/support/TestConstructorUtils.class
org/springframework/test/context/support/TestPropertySourceAttributes.class
org/springframework/test/context/support/TestPropertySourceUtils$SequencedProperties.class
org/springframework/test/context/support/TestPropertySourceUtils.class
org/springframework/test/context/support/package-info.class
org/springframework/test/context/testng/
org/springframework/test/context/testng/AbstractTestNGSpringContextTests.class
org/springframework/test/context/testng/AbstractTransactionalTestNGSpringContextTests.class
org/springframework/test/context/testng/package-info.class
org/springframework/test/context/transaction/
org/springframework/test/context/transaction/AfterTransaction.class
org/springframework/test/context/transaction/BeforeTransaction.class
org/springframework/test/context/transaction/TestContextTransactionUtils$TestContextTransactionAttribute.class
org/springframework/test/context/transaction/TestContextTransactionUtils.class
org/springframework/test/context/transaction/TestTransaction.class
org/springframework/test/context/transaction/TransactionContext.class
org/springframework/test/context/transaction/TransactionContextHolder.class
org/springframework/test/context/transaction/TransactionalTestExecutionListener$1.class
org/springframework/test/context/transaction/TransactionalTestExecutionListener.class
org/springframework/test/context/transaction/package-info.class
org/springframework/test/context/util/
org/springframework/test/context/util/TestContextFailureHandler.class
org/springframework/test/context/util/TestContextResourceUtils.class
org/springframework/test/context/util/TestContextSpringFactoriesUtils.class
org/springframework/test/context/util/package-info.class
org/springframework/test/context/web/
org/springframework/test/context/web/AbstractGenericWebContextLoader.class
org/springframework/test/context/web/AnnotationConfigWebContextLoader.class
org/springframework/test/context/web/GenericGroovyXmlWebContextLoader.class
org/springframework/test/context/web/GenericXmlWebContextLoader.class
org/springframework/test/context/web/ServletTestExecutionListener.class
org/springframework/test/context/web/WebAppConfiguration.class
org/springframework/test/context/web/WebDelegatingSmartContextLoader.class
org/springframework/test/context/web/WebMergedContextConfiguration.class
org/springframework/test/context/web/WebTestContextBootstrapper.class
org/springframework/test/context/web/package-info.class
org/springframework/test/context/web/socket/
org/springframework/test/context/web/socket/MockServerContainer.class
org/springframework/test/context/web/socket/MockServerContainerContextCustomizer.class
org/springframework/test/context/web/socket/MockServerContainerContextCustomizerFactory.class
org/springframework/test/context/web/socket/package-info.class
org/springframework/test/http/
org/springframework/test/http/HttpHeadersAssert.class
org/springframework/test/http/HttpMessageContentConverter.class
org/springframework/test/http/MediaTypeAssert$ShouldBeValidMediaType.class
org/springframework/test/http/MediaTypeAssert.class
org/springframework/test/http/package-info.class
org/springframework/test/jdbc/
org/springframework/test/jdbc/JdbcTestUtils.class
org/springframework/test/jdbc/package-info.class
org/springframework/test/json/
org/springframework/test/json/AbstractJsonContentAssert$JsonPathValue$JsonPathNotExpected.class
org/springframework/test/json/AbstractJsonContentAssert$JsonPathValue$JsonPathNotFound.class
org/springframework/test/json/AbstractJsonContentAssert$JsonPathValue.class
org/springframework/test/json/AbstractJsonContentAssert$ValueProcessingFailed.class
org/springframework/test/json/AbstractJsonContentAssert.class
org/springframework/test/json/AbstractJsonValueAssert$ValueProcessingFailed.class
org/springframework/test/json/AbstractJsonValueAssert.class
org/springframework/test/json/DefaultJsonConverterDelegate.class
org/springframework/test/json/JsonAssert$JsonAssertJsonComparator.class
org/springframework/test/json/JsonAssert.class
org/springframework/test/json/JsonComparator.class
org/springframework/test/json/JsonCompareMode.class
org/springframework/test/json/JsonComparison$Result.class
org/springframework/test/json/JsonComparison.class
org/springframework/test/json/JsonContent.class
org/springframework/test/json/JsonContentAssert.class
org/springframework/test/json/JsonConverterDelegate.class
org/springframework/test/json/JsonLoader.class
org/springframework/test/json/JsonPathValueAssert.class
org/springframework/test/json/package-info.class
org/springframework/test/util/
org/springframework/test/util/AopTestUtils.class
org/springframework/test/util/AssertionErrors.class
org/springframework/test/util/ExceptionCollector$Executable.class
org/springframework/test/util/ExceptionCollector.class
org/springframework/test/util/JsonExpectationsHelper.class
org/springframework/test/util/JsonPathExpectationsHelper$TypeRefAdapter.class
org/springframework/test/util/JsonPathExpectationsHelper.class
org/springframework/test/util/MethodAssert.class
org/springframework/test/util/ReflectionTestUtils.class
org/springframework/test/util/TestSocketUtils.class
org/springframework/test/util/XmlExpectationsHelper$XmlUnitDiff.class
org/springframework/test/util/XmlExpectationsHelper.class
org/springframework/test/util/XpathExpectationsHelper.class
org/springframework/test/util/package-info.class
org/springframework/test/validation/
org/springframework/test/validation/AbstractBindingResultAssert$UnexpectedBindingResult.class
org/springframework/test/validation/AbstractBindingResultAssert.class
org/springframework/test/validation/package-info.class
org/springframework/test/web/
org/springframework/test/web/ModelAndViewAssert.class
org/springframework/test/web/UriAssert$ShouldBeValidUriTemplate.class
org/springframework/test/web/UriAssert$ShouldBeValidUriTemplateWithMessage.class
org/springframework/test/web/UriAssert.class
org/springframework/test/web/package-info.class
org/springframework/test/web/client/
org/springframework/test/web/client/AbstractRequestExpectationManager$RequestExpectationGroup.class
org/springframework/test/web/client/AbstractRequestExpectationManager.class
org/springframework/test/web/client/DefaultRequestExpectation$RequestCount.class
org/springframework/test/web/client/DefaultRequestExpectation.class
org/springframework/test/web/client/ExpectedCount.class
org/springframework/test/web/client/MockMvcClientHttpRequestFactory$1.class
org/springframework/test/web/client/MockMvcClientHttpRequestFactory.class
org/springframework/test/web/client/MockRestServiceServer$AbstractMockRestServiceServerBuilder.class
org/springframework/test/web/client/MockRestServiceServer$MockClientHttpRequestFactory$1.class
org/springframework/test/web/client/MockRestServiceServer$MockClientHttpRequestFactory.class
org/springframework/test/web/client/MockRestServiceServer$MockRestServiceServerBuilder.class
org/springframework/test/web/client/MockRestServiceServer$RestClientMockRestServiceServerBuilder.class
org/springframework/test/web/client/MockRestServiceServer$RestTemplateMockRestServiceServerBuilder.class
org/springframework/test/web/client/MockRestServiceServer.class
org/springframework/test/web/client/RequestExpectation.class
org/springframework/test/web/client/RequestExpectationManager.class
org/springframework/test/web/client/RequestMatcher.class
org/springframework/test/web/client/ResponseActions.class
org/springframework/test/web/client/ResponseCreator.class
org/springframework/test/web/client/SimpleRequestExpectationManager.class
org/springframework/test/web/client/UnorderedRequestExpectationManager.class
org/springframework/test/web/client/package-info.class
org/springframework/test/web/client/match/
org/springframework/test/web/client/match/ContentRequestMatchers$1.class
org/springframework/test/web/client/match/ContentRequestMatchers$2.class
org/springframework/test/web/client/match/ContentRequestMatchers$3.class
org/springframework/test/web/client/match/ContentRequestMatchers$AbstractXmlRequestMatcher.class
org/springframework/test/web/client/match/ContentRequestMatchers$MultipartHelper$1.class
org/springframework/test/web/client/match/ContentRequestMatchers$MultipartHelper.class
org/springframework/test/web/client/match/ContentRequestMatchers.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$1.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$10.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$11.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$12.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$13.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$14.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$2.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$3.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$4.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$5.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$6.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$7.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$8.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$9.class
org/springframework/test/web/client/match/JsonPathRequestMatchers$AbstractJsonPathRequestMatcher.class
org/springframework/test/web/client/match/JsonPathRequestMatchers.class
org/springframework/test/web/client/match/MockRestRequestMatchers.class
org/springframework/test/web/client/match/XpathRequestMatchers$XpathRequestMatcher.class
org/springframework/test/web/client/match/XpathRequestMatchers.class
org/springframework/test/web/client/match/package-info.class
org/springframework/test/web/client/response/
org/springframework/test/web/client/response/DefaultResponseCreator.class
org/springframework/test/web/client/response/ExecutingResponseCreator.class
org/springframework/test/web/client/response/MockRestResponseCreators.class
org/springframework/test/web/client/response/package-info.class
org/springframework/test/web/reactive/
org/springframework/test/web/reactive/server/
org/springframework/test/web/reactive/server/AbstractMockServerSpec.class
org/springframework/test/web/reactive/server/ApplicationContextSpec.class
org/springframework/test/web/reactive/server/CookieAssertions.class
org/springframework/test/web/reactive/server/DefaultControllerSpec$TestWebFluxConfigurer.class
org/springframework/test/web/reactive/server/DefaultControllerSpec.class
org/springframework/test/web/reactive/server/DefaultMockServerSpec.class
org/springframework/test/web/reactive/server/DefaultRouterFunctionSpec.class
org/springframework/test/web/reactive/server/DefaultWebTestClient$DefaultBodyContentSpec.class
org/springframework/test/web/reactive/server/DefaultWebTestClient$DefaultBodySpec.class
org/springframework/test/web/reactive/server/DefaultWebTestClient$DefaultListBodySpec.class
org/springframework/test/web/reactive/server/DefaultWebTestClient$DefaultRequestBodyUriSpec.class
org/springframework/test/web/reactive/server/DefaultWebTestClient$DefaultResponseSpec.class
org/springframework/test/web/reactive/server/DefaultWebTestClient$JsonPathConfigurationProvider.class
org/springframework/test/web/reactive/server/DefaultWebTestClient.class
org/springframework/test/web/reactive/server/DefaultWebTestClientBuilder.class
org/springframework/test/web/reactive/server/EncoderDecoderMappingProvider.class
org/springframework/test/web/reactive/server/EntityExchangeResult.class
org/springframework/test/web/reactive/server/ExchangeResult.class
org/springframework/test/web/reactive/server/FluxExchangeResult.class
org/springframework/test/web/reactive/server/HeaderAssertions.class
org/springframework/test/web/reactive/server/HttpHandlerConnector$FailureAfterResponseCompletedException.class
org/springframework/test/web/reactive/server/HttpHandlerConnector.class
org/springframework/test/web/reactive/server/JsonEncoderDecoder$CodecsJsonConverterDelegate.class
org/springframework/test/web/reactive/server/JsonEncoderDecoder.class
org/springframework/test/web/reactive/server/JsonPathAssertions.class
org/springframework/test/web/reactive/server/MockServerClientHttpResponse.class
org/springframework/test/web/reactive/server/MockServerConfigurer.class
org/springframework/test/web/reactive/server/StatusAssertions.class
org/springframework/test/web/reactive/server/UserWebTestClientConfigurer$UserWebFilter.class
org/springframework/test/web/reactive/server/UserWebTestClientConfigurer.class
org/springframework/test/web/reactive/server/WebTestClient$BodyContentSpec.class
org/springframework/test/web/reactive/server/WebTestClient$BodySpec.class
org/springframework/test/web/reactive/server/WebTestClient$Builder.class
org/springframework/test/web/reactive/server/WebTestClient$ControllerSpec.class
org/springframework/test/web/reactive/server/WebTestClient$ListBodySpec.class
org/springframework/test/web/reactive/server/WebTestClient$MockServerSpec.class
org/springframework/test/web/reactive/server/WebTestClient$RequestBodySpec.class
org/springframework/test/web/reactive/server/WebTestClient$RequestBodyUriSpec.class
org/springframework/test/web/reactive/server/WebTestClient$RequestHeadersSpec.class
org/springframework/test/web/reactive/server/WebTestClient$RequestHeadersUriSpec.class
org/springframework/test/web/reactive/server/WebTestClient$ResponseSpec$ResponseSpecConsumer.class
org/springframework/test/web/reactive/server/WebTestClient$ResponseSpec.class
org/springframework/test/web/reactive/server/WebTestClient$RouterFunctionSpec.class
org/springframework/test/web/reactive/server/WebTestClient$UriSpec.class
org/springframework/test/web/reactive/server/WebTestClient.class
org/springframework/test/web/reactive/server/WebTestClientConfigurer.class
org/springframework/test/web/reactive/server/WiretapConnector$ClientExchangeInfo.class
org/springframework/test/web/reactive/server/WiretapConnector$WiretapClientHttpRequest.class
org/springframework/test/web/reactive/server/WiretapConnector$WiretapClientHttpResponse.class
org/springframework/test/web/reactive/server/WiretapConnector$WiretapRecorder.class
org/springframework/test/web/reactive/server/WiretapConnector.class
org/springframework/test/web/reactive/server/XpathAssertions.class
org/springframework/test/web/reactive/server/package-info.class
org/springframework/test/web/reactive/server/assertj/
org/springframework/test/web/reactive/server/assertj/DefaultWebTestClientResponse.class
org/springframework/test/web/reactive/server/assertj/ResponseCookieMapAssert.class
org/springframework/test/web/reactive/server/assertj/WebTestClientResponse.class
org/springframework/test/web/reactive/server/assertj/WebTestClientResponseAssert.class
org/springframework/test/web/reactive/server/assertj/package-info.class
org/springframework/test/web/servlet/
org/springframework/test/web/servlet/DefaultMvcResult.class
org/springframework/test/web/servlet/DispatcherServletCustomizer.class
org/springframework/test/web/servlet/MockMvc$1.class
org/springframework/test/web/servlet/MockMvc.class
org/springframework/test/web/servlet/MockMvcBuilder.class
org/springframework/test/web/servlet/MockMvcBuilderSupport$MockMvcBuildException.class
org/springframework/test/web/servlet/MockMvcBuilderSupport.class
org/springframework/test/web/servlet/MvcResult.class
org/springframework/test/web/servlet/RequestBuilder.class
org/springframework/test/web/servlet/ResultActions.class
org/springframework/test/web/servlet/ResultHandler.class
org/springframework/test/web/servlet/ResultMatcher.class
org/springframework/test/web/servlet/SmartRequestBuilder.class
org/springframework/test/web/servlet/TestDispatcherServlet$1.class
org/springframework/test/web/servlet/TestDispatcherServlet$2.class
org/springframework/test/web/servlet/TestDispatcherServlet.class
org/springframework/test/web/servlet/package-info.class
org/springframework/test/web/servlet/assertj/
org/springframework/test/web/servlet/assertj/AbstractHttpServletRequestAssert.class
org/springframework/test/web/servlet/assertj/AbstractHttpServletResponseAssert.class
org/springframework/test/web/servlet/assertj/AbstractMockHttpServletRequestAssert.class
org/springframework/test/web/servlet/assertj/AbstractMockHttpServletResponseAssert.class
org/springframework/test/web/servlet/assertj/CookieMapAssert.class
org/springframework/test/web/servlet/assertj/DefaultMvcTestResult.class
org/springframework/test/web/servlet/assertj/HandlerResultAssert.class
org/springframework/test/web/servlet/assertj/MockMvcTester$MockMultipartMvcRequestBuilder.class
org/springframework/test/web/servlet/assertj/MockMvcTester$MockMvcRequestBuilder.class
org/springframework/test/web/servlet/assertj/MockMvcTester.class
org/springframework/test/web/servlet/assertj/ModelAssert$BindingResultAssert.class
org/springframework/test/web/servlet/assertj/ModelAssert$UnexpectedModel.class
org/springframework/test/web/servlet/assertj/ModelAssert.class
org/springframework/test/web/servlet/assertj/MvcTestResult.class
org/springframework/test/web/servlet/assertj/MvcTestResultAssert$MockHttpRequestAssert.class
org/springframework/test/web/servlet/assertj/MvcTestResultAssert$RequestFailedUnexpectedly.class
org/springframework/test/web/servlet/assertj/MvcTestResultAssert.class
org/springframework/test/web/servlet/assertj/package-info.class
org/springframework/test/web/servlet/client/
org/springframework/test/web/servlet/client/CookieAssertions.class
org/springframework/test/web/servlet/client/DefaultRestTestClient$ConverterCallback.class
org/springframework/test/web/servlet/client/DefaultRestTestClient$DefaultBodyContentSpec.class
org/springframework/test/web/servlet/client/DefaultRestTestClient$DefaultBodySpec.class
org/springframework/test/web/servlet/client/DefaultRestTestClient$DefaultRequestBodyUriSpec.class
org/springframework/test/web/servlet/client/DefaultRestTestClient$DefaultResponseSpec.class
org/springframework/test/web/servlet/client/DefaultRestTestClient$JsonPathConfigurationProvider.class
org/springframework/test/web/servlet/client/DefaultRestTestClient$MessageConverterMappingProvider.class
org/springframework/test/web/servlet/client/DefaultRestTestClient$WiretapInterceptor.class
org/springframework/test/web/servlet/client/DefaultRestTestClient.class
org/springframework/test/web/servlet/client/DefaultRestTestClientBuilder$AbstractMockMvcSetupBuilder.class
org/springframework/test/web/servlet/client/DefaultRestTestClientBuilder$DefaultRouterFunctionSetupBuilder.class
org/springframework/test/web/servlet/client/DefaultRestTestClientBuilder$DefaultStandaloneSetupBuilder.class
org/springframework/test/web/servlet/client/DefaultRestTestClientBuilder$DefaultWebAppContextSetupBuilder.class
org/springframework/test/web/servlet/client/DefaultRestTestClientBuilder.class
org/springframework/test/web/servlet/client/EntityExchangeResult.class
org/springframework/test/web/servlet/client/ExchangeResult.class
org/springframework/test/web/servlet/client/HeaderAssertions.class
org/springframework/test/web/servlet/client/JsonPathAssertions.class
org/springframework/test/web/servlet/client/MockMvcClientHttpRequestFactory$MockMvcClientHttpRequest.class
org/springframework/test/web/servlet/client/MockMvcClientHttpRequestFactory.class
org/springframework/test/web/servlet/client/MockMvcHttpConnector$MockMvcServerClientHttpResponse.class
org/springframework/test/web/servlet/client/MockMvcHttpConnector$PrintingMvcResult.class
org/springframework/test/web/servlet/client/MockMvcHttpConnector.class
org/springframework/test/web/servlet/client/MockMvcWebTestClient$1.class
org/springframework/test/web/servlet/client/MockMvcWebTestClient$ControllerSpec.class
org/springframework/test/web/servlet/client/MockMvcWebTestClient$MockMvcServerSpec.class
org/springframework/test/web/servlet/client/MockMvcWebTestClient$RouterFunctionSpec.class
org/springframework/test/web/servlet/client/MockMvcWebTestClient.class
org/springframework/test/web/servlet/client/MockMvcWebTestClientSpecs$AbstractMockMvcServerSpec.class
org/springframework/test/web/servlet/client/MockMvcWebTestClientSpecs$ApplicationContextMockMvcSpec.class
org/springframework/test/web/servlet/client/MockMvcWebTestClientSpecs$RouterFunctionMockMvcSpec.class
org/springframework/test/web/servlet/client/MockMvcWebTestClientSpecs$StandaloneMockMvcSpec.class
org/springframework/test/web/servlet/client/MockMvcWebTestClientSpecs.class
org/springframework/test/web/servlet/client/RestTestClient$BodyContentSpec.class
org/springframework/test/web/servlet/client/RestTestClient$BodySpec.class
org/springframework/test/web/servlet/client/RestTestClient$Builder.class
org/springframework/test/web/servlet/client/RestTestClient$MockMvcSetupBuilder.class
org/springframework/test/web/servlet/client/RestTestClient$RequestBodySpec.class
org/springframework/test/web/servlet/client/RestTestClient$RequestBodyUriSpec.class
org/springframework/test/web/servlet/client/RestTestClient$RequestHeadersSpec.class
org/springframework/test/web/servlet/client/RestTestClient$RequestHeadersUriSpec.class
org/springframework/test/web/servlet/client/RestTestClient$ResponseSpec$ResponseSpecConsumer.class
org/springframework/test/web/servlet/client/RestTestClient$ResponseSpec.class
org/springframework/test/web/servlet/client/RestTestClient$RouterFunctionSetupBuilder.class
org/springframework/test/web/servlet/client/RestTestClient$StandaloneSetupBuilder.class
org/springframework/test/web/servlet/client/RestTestClient$UriSpec.class
org/springframework/test/web/servlet/client/RestTestClient$WebAppContextSetupBuilder.class
org/springframework/test/web/servlet/client/RestTestClient.class
org/springframework/test/web/servlet/client/StatusAssertions.class
org/springframework/test/web/servlet/client/XpathAssertions.class
org/springframework/test/web/servlet/client/package-info.class
org/springframework/test/web/servlet/client/assertj/
org/springframework/test/web/servlet/client/assertj/DefaultRestTestClientResponse.class
org/springframework/test/web/servlet/client/assertj/RestTestClientResponse.class
org/springframework/test/web/servlet/client/assertj/RestTestClientResponseAssert.class
org/springframework/test/web/servlet/client/assertj/package-info.class
org/springframework/test/web/servlet/htmlunit/
org/springframework/test/web/servlet/htmlunit/DelegatingWebConnection$DelegateWebConnection.class
org/springframework/test/web/servlet/htmlunit/DelegatingWebConnection.class
org/springframework/test/web/servlet/htmlunit/ForwardRequestPostProcessor.class
org/springframework/test/web/servlet/htmlunit/HostRequestMatcher.class
org/springframework/test/web/servlet/htmlunit/HtmlUnitRequestBuilder$HtmlUnitMockHttpServletRequest.class
org/springframework/test/web/servlet/htmlunit/HtmlUnitRequestBuilder$HtmlUnitMockHttpSession.class
org/springframework/test/web/servlet/htmlunit/HtmlUnitRequestBuilder.class
org/springframework/test/web/servlet/htmlunit/MockMvcWebClientBuilder.class
org/springframework/test/web/servlet/htmlunit/MockMvcWebConnection.class
org/springframework/test/web/servlet/htmlunit/MockMvcWebConnectionBuilderSupport.class
org/springframework/test/web/servlet/htmlunit/MockWebResponseBuilder.class
org/springframework/test/web/servlet/htmlunit/UrlRegexRequestMatcher.class
org/springframework/test/web/servlet/htmlunit/WebRequestMatcher.class
org/springframework/test/web/servlet/htmlunit/package-info.class
org/springframework/test/web/servlet/htmlunit/webdriver/
org/springframework/test/web/servlet/htmlunit/webdriver/MockMvcHtmlUnitDriverBuilder.class
org/springframework/test/web/servlet/htmlunit/webdriver/WebConnectionHtmlUnitDriver.class
org/springframework/test/web/servlet/htmlunit/webdriver/package-info.class
org/springframework/test/web/servlet/request/
org/springframework/test/web/servlet/request/AbstractMockHttpServletRequestBuilder$1.class
org/springframework/test/web/servlet/request/AbstractMockHttpServletRequestBuilder$2.class
org/springframework/test/web/servlet/request/AbstractMockHttpServletRequestBuilder.class
org/springframework/test/web/servlet/request/AbstractMockMultipartHttpServletRequestBuilder.class
org/springframework/test/web/servlet/request/ConfigurableSmartRequestBuilder.class
org/springframework/test/web/servlet/request/MockHttpServletRequestBuilder.class
org/springframework/test/web/servlet/request/MockMultipartHttpServletRequestBuilder.class
org/springframework/test/web/servlet/request/MockMvcRequestBuilders.class
org/springframework/test/web/servlet/request/RequestPostProcessor.class
org/springframework/test/web/servlet/request/package-info.class
org/springframework/test/web/servlet/result/
org/springframework/test/web/servlet/result/ContentResultMatchers.class
org/springframework/test/web/servlet/result/CookieResultMatchers.class
org/springframework/test/web/servlet/result/FlashAttributeResultMatchers.class
org/springframework/test/web/servlet/result/HandlerResultMatchers.class
org/springframework/test/web/servlet/result/HeaderResultMatchers.class
org/springframework/test/web/servlet/result/JsonPathResultMatchers.class
org/springframework/test/web/servlet/result/MockMvcResultHandlers$LoggingResultHandler.class
org/springframework/test/web/servlet/result/MockMvcResultHandlers$PrintWriterPrintingResultHandler$1.class
org/springframework/test/web/servlet/result/MockMvcResultHandlers$PrintWriterPrintingResultHandler.class
org/springframework/test/web/servlet/result/MockMvcResultHandlers.class
org/springframework/test/web/servlet/result/MockMvcResultMatchers.class
org/springframework/test/web/servlet/result/ModelResultMatchers.class
org/springframework/test/web/servlet/result/PrintingResultHandler$ResultValuePrinter.class
org/springframework/test/web/servlet/result/PrintingResultHandler.class
org/springframework/test/web/servlet/result/RequestResultMatchers.class
org/springframework/test/web/servlet/result/StatusResultMatchers.class
org/springframework/test/web/servlet/result/ViewResultMatchers.class
org/springframework/test/web/servlet/result/XpathResultMatchers.class
org/springframework/test/web/servlet/result/package-info.class
org/springframework/test/web/servlet/setup/
org/springframework/test/web/servlet/setup/AbstractMockMvcBuilder.class
org/springframework/test/web/servlet/setup/ConfigurableMockMvcBuilder.class
org/springframework/test/web/servlet/setup/DefaultMockMvcBuilder.class
org/springframework/test/web/servlet/setup/MockMvcBuilders.class
org/springframework/test/web/servlet/setup/MockMvcConfigurer.class
org/springframework/test/web/servlet/setup/MockMvcConfigurerAdapter.class
org/springframework/test/web/servlet/setup/MockMvcFilterDecorator.class
org/springframework/test/web/servlet/setup/RouterFunctionMockMvcBuilder$HandlerFunctionConfiguration.class
org/springframework/test/web/servlet/setup/RouterFunctionMockMvcBuilder.class
org/springframework/test/web/servlet/setup/SharedHttpSessionConfigurer.class
org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilder$StandaloneConfiguration.class
org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilder$StaticStringValueResolver.class
org/springframework/test/web/servlet/setup/StandaloneMockMvcBuilder.class
org/springframework/test/web/servlet/setup/StaticViewResolver.class
org/springframework/test/web/servlet/setup/StubWebApplicationContext$StubBeanFactory.class
org/springframework/test/web/servlet/setup/StubWebApplicationContext.class
org/springframework/test/web/servlet/setup/package-info.class
org/springframework/test/web/support/
org/springframework/test/web/support/AbstractCookieAssertions.class
org/springframework/test/web/support/AbstractHeaderAssertions.class
org/springframework/test/web/support/AbstractJsonPathAssertions.class
org/springframework/test/web/support/AbstractStatusAssertions.class
org/springframework/test/web/support/AbstractXpathAssertions$CheckedExceptionTask.class
org/springframework/test/web/support/AbstractXpathAssertions.class
org/springframework/test/web/support/package-info.class
META-INF/spring-test.kotlin_module
org/springframework/test/web/reactive/server/WebTestClientExtensionsKt$body$1.class
org/springframework/test/web/reactive/server/WebTestClientExtensionsKt$body$2.class
org/springframework/test/web/reactive/server/WebTestClientExtensionsKt$body$3.class
org/springframework/test/web/reactive/server/WebTestClientExtensionsKt$expectBody$1.class
org/springframework/test/web/reactive/server/WebTestClientExtensionsKt$expectBodyList$1.class
org/springframework/test/web/reactive/server/WebTestClientExtensionsKt$returnResult$1.class
org/springframework/test/web/reactive/server/WebTestClientExtensionsKt.class
org/springframework/test/web/servlet/MockHttpServletRequestDsl.class
org/springframework/test/web/servlet/MockMultipartHttpServletRequestDsl.class
org/springframework/test/web/servlet/MockMvcExtensionsKt.class
org/springframework/test/web/servlet/MockMvcResultHandlersDsl.class
org/springframework/test/web/servlet/MockMvcResultMatchersDsl.class
org/springframework/test/web/servlet/ResultActionsDsl$andExpectAll$softActions$1.class
org/springframework/test/web/servlet/ResultActionsDsl.class
org/springframework/test/web/servlet/client/RestTestClientExtensionsKt$expectBody$1.class
org/springframework/test/web/servlet/client/RestTestClientExtensionsKt$returnResult$1.class
org/springframework/test/web/servlet/client/RestTestClientExtensionsKt.class
org/springframework/test/web/servlet/result/ContentResultMatchersDsl.class
org/springframework/test/web/servlet/result/CookieResultMatchersDsl.class
org/springframework/test/web/servlet/result/FlashAttributeResultMatchersDsl.class
org/springframework/test/web/servlet/result/HeaderResultMatchersDsl.class
org/springframework/test/web/servlet/result/JsonPathResultMatchersDsl.class
org/springframework/test/web/servlet/result/ModelResultMatchersDsl.class
org/springframework/test/web/servlet/result/RequestResultMatchersDsl.class
org/springframework/test/web/servlet/result/StatusResultMatchersDsl.class
org/springframework/test/web/servlet/result/StatusResultMatchersExtensionsKt.class
org/springframework/test/web/servlet/result/ViewResultMatchersDsl.class
org/springframework/test/web/servlet/result/XpathResultMatchersDsl.class
META-INF/spring.factories
META-INF/spring/
META-INF/spring/aot.factories
mockito-extensions/
mockito-extensions/org.mockito.plugins.MockResolver
META-INF/license.txt
META-INF/notice.txt

View File

@@ -2,8 +2,10 @@ package com.todo.backend;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
@SpringBootTest
@ActiveProfiles("test")
class BackendApplicationTests {
@Test

View File

@@ -0,0 +1,139 @@
package com.todo.backend.controller;
import tools.jackson.databind.ObjectMapper;
import com.todo.backend.model.Todo;
import com.todo.backend.service.TodoService;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.webmvc.test.autoconfigure.WebMvcTest;
// Spring Boot 3.4+ replaces @MockBean with @MockitoBean
import org.springframework.test.context.bean.override.mockito.MockitoBean;
import org.springframework.http.MediaType;
import org.springframework.test.web.servlet.MockMvc;
import java.util.Arrays;
import java.util.List;
import java.util.Optional;
import static org.hamcrest.Matchers.hasSize;
import static org.hamcrest.Matchers.is;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
@WebMvcTest(TodoController.class)
public class TodoControllerTest {
@Autowired
private MockMvc mockMvc;
@Autowired
private ObjectMapper objectMapper;
@MockitoBean
private TodoService todoService;
private Todo todo1;
private Todo todo2;
@BeforeEach
void setUp() {
todo1 = new Todo("Test Todo 1", "Description 1", false);
todo1.setId(1L);
todo2 = new Todo("Test Todo 2", "Description 2", true);
todo2.setId(2L);
}
@Test
void getAllTodos_ReturnsListOfTodos() throws Exception {
List<Todo> todos = Arrays.asList(todo1, todo2);
when(todoService.getAllTodos()).thenReturn(todos);
mockMvc.perform(get("/api/todos"))
.andExpect(status().isOk())
.andExpect(jsonPath("$", hasSize(2)))
.andExpect(jsonPath("$[0].title", is(todo1.getTitle())))
.andExpect(jsonPath("$[1].title", is(todo2.getTitle())));
}
@Test
void getTodoById_WhenExists_ReturnsTodo() throws Exception {
when(todoService.getTodoById(1L)).thenReturn(Optional.of(todo1));
mockMvc.perform(get("/api/todos/1"))
.andExpect(status().isOk())
.andExpect(jsonPath("$.title", is(todo1.getTitle())))
.andExpect(jsonPath("$.id", is(1)));
}
@Test
void getTodoById_WhenNotExists_ReturnsNotFound() throws Exception {
when(todoService.getTodoById(99L)).thenReturn(Optional.empty());
mockMvc.perform(get("/api/todos/99"))
.andExpect(status().isNotFound());
}
@Test
void createTodo_ReturnsCreatedTodo() throws Exception {
Todo newTodo = new Todo("New Todo", "New Description", false);
Todo savedTodo = new Todo("New Todo", "New Description", false);
savedTodo.setId(3L);
when(todoService.createTodo(any(Todo.class))).thenReturn(savedTodo);
mockMvc.perform(post("/api/todos")
.contentType(MediaType.APPLICATION_JSON)
.content(objectMapper.writeValueAsString(newTodo)))
.andExpect(status().isCreated())
.andExpect(jsonPath("$.id", is(3)))
.andExpect(jsonPath("$.title", is(newTodo.getTitle())));
}
@Test
void updateTodo_WhenExists_ReturnsUpdatedTodo() throws Exception {
Todo updatedInfo = new Todo("Updated Title", "Updated Desc", true);
Todo updatedTodo = new Todo("Updated Title", "Updated Desc", true);
updatedTodo.setId(1L);
when(todoService.updateTodo(eq(1L), any(Todo.class))).thenReturn(updatedTodo);
mockMvc.perform(put("/api/todos/1")
.contentType(MediaType.APPLICATION_JSON)
.content(objectMapper.writeValueAsString(updatedInfo)))
.andExpect(status().isOk())
.andExpect(jsonPath("$.title", is("Updated Title")))
.andExpect(jsonPath("$.completed", is(true)));
}
@Test
void updateTodo_WhenNotExists_ReturnsNotFound() throws Exception {
Todo updatedInfo = new Todo("Updated Title", "Updated Desc", true);
when(todoService.updateTodo(eq(99L), any(Todo.class))).thenReturn(null);
mockMvc.perform(put("/api/todos/99")
.contentType(MediaType.APPLICATION_JSON)
.content(objectMapper.writeValueAsString(updatedInfo)))
.andExpect(status().isNotFound());
}
@Test
void deleteTodo_WhenExists_ReturnsNoContent() throws Exception {
when(todoService.deleteTodo(1L)).thenReturn(true);
mockMvc.perform(delete("/api/todos/1"))
.andExpect(status().isNoContent());
}
@Test
void deleteTodo_WhenNotExists_ReturnsNotFound() throws Exception {
when(todoService.deleteTodo(99L)).thenReturn(false);
mockMvc.perform(delete("/api/todos/99"))
.andExpect(status().isNotFound());
}
}

View File

@@ -0,0 +1,6 @@
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.jpa.hibernate.ddl-auto=create-drop

117
backend/tree.txt Normal file
View File

@@ -0,0 +1,117 @@
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< com.example:backend >-------------------------
[INFO] Building backend 0.0.1-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- dependency:3.9.0:tree (default-cli) @ backend ---
[INFO] com.example:backend:jar:0.0.1-SNAPSHOT
[INFO] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:4.0.3:compile
[INFO] | +- org.springframework.boot:spring-boot-starter:jar:4.0.3:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-logging:jar:4.0.3:compile
[INFO] | | | +- ch.qos.logback:logback-classic:jar:1.5.32:compile
[INFO] | | | | \- ch.qos.logback:logback-core:jar:1.5.32:compile
[INFO] | | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.25.3:compile
[INFO] | | | | \- org.apache.logging.log4j:log4j-api:jar:2.25.3:compile
[INFO] | | | \- org.slf4j:jul-to-slf4j:jar:2.0.17:compile
[INFO] | | +- jakarta.annotation:jakarta.annotation-api:jar:3.0.0:compile
[INFO] | | \- org.yaml:snakeyaml:jar:2.5:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-jdbc:jar:4.0.3:compile
[INFO] | | \- com.zaxxer:HikariCP:jar:7.0.2:compile
[INFO] | +- org.springframework.boot:spring-boot-data-jpa:jar:4.0.3:compile
[INFO] | | +- org.springframework.boot:spring-boot-data-commons:jar:4.0.3:compile
[INFO] | | | +- org.springframework.boot:spring-boot-persistence:jar:4.0.3:compile
[INFO] | | | \- org.springframework.data:spring-data-commons:jar:4.0.3:compile
[INFO] | | +- org.springframework.boot:spring-boot-hibernate:jar:4.0.3:compile
[INFO] | | | +- org.springframework.boot:spring-boot-jpa:jar:4.0.3:compile
[INFO] | | | | \- jakarta.persistence:jakarta.persistence-api:jar:3.2.0:compile
[INFO] | | | +- org.hibernate.orm:hibernate-core:jar:7.2.4.Final:compile
[INFO] | | | | +- jakarta.transaction:jakarta.transaction-api:jar:2.0.1:compile
[INFO] | | | | +- org.jboss.logging:jboss-logging:jar:3.6.2.Final:runtime
[INFO] | | | | +- org.hibernate.models:hibernate-models:jar:1.0.1:runtime
[INFO] | | | | +- com.fasterxml:classmate:jar:1.7.3:runtime
[INFO] | | | | +- org.glassfish.jaxb:jaxb-runtime:jar:4.0.6:runtime
[INFO] | | | | | \- org.glassfish.jaxb:jaxb-core:jar:4.0.6:runtime
[INFO] | | | | | +- org.eclipse.angus:angus-activation:jar:2.0.3:runtime
[INFO] | | | | | +- org.glassfish.jaxb:txw2:jar:4.0.6:runtime
[INFO] | | | | | \- com.sun.istack:istack-commons-runtime:jar:4.1.2:runtime
[INFO] | | | | \- jakarta.inject:jakarta.inject-api:jar:2.0.1:runtime
[INFO] | | | \- org.springframework:spring-orm:jar:7.0.5:compile
[INFO] | | +- org.springframework.data:spring-data-jpa:jar:4.0.3:compile
[INFO] | | | +- org.springframework:spring-aop:jar:7.0.5:compile
[INFO] | | | +- org.springframework:spring-tx:jar:7.0.5:compile
[INFO] | | | +- org.springframework:spring-beans:jar:7.0.5:compile
[INFO] | | | \- org.antlr:antlr4-runtime:jar:4.13.2:compile
[INFO] | | \- org.springframework:spring-aspects:jar:7.0.5:compile
[INFO] | | \- org.aspectj:aspectjweaver:jar:1.9.25.1:compile
[INFO] | \- org.springframework.boot:spring-boot-jdbc:jar:4.0.3:compile
[INFO] | +- org.springframework.boot:spring-boot-sql:jar:4.0.3:compile
[INFO] | +- org.springframework.boot:spring-boot-transaction:jar:4.0.3:compile
[INFO] | \- org.springframework:spring-jdbc:jar:7.0.5:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:4.0.3:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-jackson:jar:4.0.3:compile
[INFO] | | \- org.springframework.boot:spring-boot-jackson:jar:4.0.3:compile
[INFO] | | \- tools.jackson.core:jackson-databind:jar:3.0.4:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.20:compile
[INFO] | | \- tools.jackson.core:jackson-core:jar:3.0.4:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:4.0.3:compile
[INFO] | | +- org.springframework.boot:spring-boot-starter-tomcat-runtime:jar:4.0.3:compile
[INFO] | | | +- org.springframework.boot:spring-boot-web-server:jar:4.0.3:compile
[INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:11.0.18:compile
[INFO] | | | +- org.apache.tomcat.embed:tomcat-embed-el:jar:11.0.18:compile
[INFO] | | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:11.0.18:compile
[INFO] | | \- org.springframework.boot:spring-boot-tomcat:jar:4.0.3:compile
[INFO] | +- org.springframework.boot:spring-boot-http-converter:jar:4.0.3:compile
[INFO] | | \- org.springframework:spring-web:jar:7.0.5:compile
[INFO] | | \- io.micrometer:micrometer-observation:jar:1.16.3:compile
[INFO] | | \- io.micrometer:micrometer-commons:jar:1.16.3:compile
[INFO] | \- org.springframework.boot:spring-boot-webmvc:jar:4.0.3:compile
[INFO] | +- org.springframework.boot:spring-boot-servlet:jar:4.0.3:compile
[INFO] | \- org.springframework:spring-webmvc:jar:7.0.5:compile
[INFO] | \- org.springframework:spring-expression:jar:7.0.5:compile
[INFO] +- org.springframework.boot:spring-boot-devtools:jar:4.0.3:runtime (optional)
[INFO] | +- org.springframework.boot:spring-boot:jar:4.0.3:compile
[INFO] | | \- org.springframework:spring-context:jar:7.0.5:compile
[INFO] | \- org.springframework.boot:spring-boot-autoconfigure:jar:4.0.3:compile
[INFO] +- org.postgresql:postgresql:jar:42.7.10:runtime
[INFO] | \- org.checkerframework:checker-qual:jar:3.52.0:runtime
[INFO] \- org.springframework.boot:spring-boot-starter-test:jar:4.0.3:test
[INFO] +- org.springframework.boot:spring-boot-test:jar:4.0.3:test
[INFO] +- org.springframework.boot:spring-boot-test-autoconfigure:jar:4.0.3:test
[INFO] +- com.jayway.jsonpath:json-path:jar:2.10.0:test
[INFO] | \- org.slf4j:slf4j-api:jar:2.0.17:compile
[INFO] +- jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.4:runtime
[INFO] | \- jakarta.activation:jakarta.activation-api:jar:2.1.4:runtime
[INFO] +- net.minidev:json-smart:jar:2.6.0:test
[INFO] | \- net.minidev:accessors-smart:jar:2.6.0:test
[INFO] | \- org.ow2.asm:asm:jar:9.7.1:test
[INFO] +- org.assertj:assertj-core:jar:3.27.7:test
[INFO] | \- net.bytebuddy:byte-buddy:jar:1.17.8:runtime
[INFO] +- org.awaitility:awaitility:jar:4.3.0:test
[INFO] +- org.hamcrest:hamcrest:jar:3.0:test
[INFO] +- org.junit.jupiter:junit-jupiter:jar:6.0.3:test
[INFO] | +- org.junit.jupiter:junit-jupiter-api:jar:6.0.3:test
[INFO] | | +- org.opentest4j:opentest4j:jar:1.3.0:test
[INFO] | | +- org.junit.platform:junit-platform-commons:jar:6.0.3:test
[INFO] | | \- org.apiguardian:apiguardian-api:jar:1.1.2:test
[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:6.0.3:test
[INFO] | \- org.junit.jupiter:junit-jupiter-engine:jar:6.0.3:test
[INFO] | \- org.junit.platform:junit-platform-engine:jar:6.0.3:test
[INFO] +- org.mockito:mockito-core:jar:5.20.0:test
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.17.8:test
[INFO] | \- org.objenesis:objenesis:jar:3.3:test
[INFO] +- org.mockito:mockito-junit-jupiter:jar:5.20.0:test
[INFO] +- org.skyscreamer:jsonassert:jar:1.5.3:test
[INFO] | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO] +- org.springframework:spring-core:jar:7.0.5:compile
[INFO] | +- commons-logging:commons-logging:jar:1.3.5:compile
[INFO] | \- org.jspecify:jspecify:jar:1.0.0:compile
[INFO] +- org.springframework:spring-test:jar:7.0.5:test
[INFO] \- org.xmlunit:xmlunit-core:jar:2.10.4:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.578 s
[INFO] Finished at: 2026-02-21T12:01:11+03:00
[INFO] ------------------------------------------------------------------------

View File

@@ -0,0 +1,47 @@
META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE.txt
META-INF/NOTICE.txt
META-INF/spring-configuration-metadata.json
org/
org/springframework/
org/springframework/boot/
org/springframework/boot/webmvc/
org/springframework/boot/webmvc/test/
org/springframework/boot/webmvc/test/autoconfigure/
org/springframework/boot/webmvc/test/autoconfigure/AutoConfigureMockMvc$HtmlUnit.class
org/springframework/boot/webmvc/test/autoconfigure/AutoConfigureMockMvc.class
org/springframework/boot/webmvc/test/autoconfigure/AutoConfigureWebMvc.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcAutoConfiguration.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcBuilderCustomizer.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcConfiguration$MockMvcDispatcherServletCustomizer.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcConfiguration.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcHtmlUnitDriverCustomizer.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcPrint.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcPrintOnlyOnFailureTestExecutionListener.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcTesterConfiguration.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcWebClientAutoConfiguration.class
org/springframework/boot/webmvc/test/autoconfigure/MockMvcWebDriverAutoConfiguration.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$DeferredLinesWriter.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$FilterRegistrationBeans$FilterRegistrationBeanAdapter.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$FilterRegistrationBeans.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$LinesWriter.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$LinesWritingResultHandler$LinesPrintingResultHandler$Printer.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$LinesWritingResultHandler$LinesPrintingResultHandler.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$LinesWritingResultHandler.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$LoggingLinesWriter.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer$SystemLinesWriter.class
org/springframework/boot/webmvc/test/autoconfigure/SpringBootMockMvcBuilderCustomizer.class
org/springframework/boot/webmvc/test/autoconfigure/WebDriverContextCustomizer.class
org/springframework/boot/webmvc/test/autoconfigure/WebDriverContextCustomizerFactory.class
org/springframework/boot/webmvc/test/autoconfigure/WebDriverScope.class
org/springframework/boot/webmvc/test/autoconfigure/WebDriverTestExecutionListener.class
org/springframework/boot/webmvc/test/autoconfigure/WebMvcTest.class
org/springframework/boot/webmvc/test/autoconfigure/WebMvcTestContextBootstrapper.class
org/springframework/boot/webmvc/test/autoconfigure/WebMvcTypeExcludeFilter.class
org/springframework/boot/webmvc/test/autoconfigure/package-info.class
META-INF/additional-spring-configuration-metadata.json
META-INF/spring.factories
META-INF/spring/
META-INF/spring/org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc.imports
META-INF/spring/org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureWebMvc.imports