From ba86e8a6b11077fa4edcacddb7b7d645b7ea5e98 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Thu, 12 Jan 2023 14:41:54 +0400 Subject: [PATCH] Update content headings --- .../content/110-testing/102-spring-boot-test-annotation.md | 2 +- .../spring-boot/content/110-testing/103-mockbean-annotation.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roadmaps/spring-boot/content/110-testing/102-spring-boot-test-annotation.md b/src/roadmaps/spring-boot/content/110-testing/102-spring-boot-test-annotation.md index a2805c9a9..a91c07f44 100644 --- a/src/roadmaps/spring-boot/content/110-testing/102-spring-boot-test-annotation.md +++ b/src/roadmaps/spring-boot/content/110-testing/102-spring-boot-test-annotation.md @@ -1,4 +1,4 @@ -# Spring boot test annotation +# @SpringBootTest annotation `@SpringBootTest` This annotation is used to create a fully-configured instance of the Spring ApplicationContext for testing. It can be used to test the application's components, including controllers, services, and repositories, in a real application environment. diff --git a/src/roadmaps/spring-boot/content/110-testing/103-mockbean-annotation.md b/src/roadmaps/spring-boot/content/110-testing/103-mockbean-annotation.md index 92d4d85e9..67291d43e 100644 --- a/src/roadmaps/spring-boot/content/110-testing/103-mockbean-annotation.md +++ b/src/roadmaps/spring-boot/content/110-testing/103-mockbean-annotation.md @@ -1,4 +1,4 @@ -# Mockbean Annotation +# @MockBean Annotation `MockBean` is a Spring annotation that can be used to create a mock implementation of a bean in the Spring application context. When a test is annotated with MockBean, Spring creates a mock implementation of the specified bean and adds it to the application context. The mock bean can then be used to replace the real bean during testing.