1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-02 22:02:39 +02:00

Update content headings

This commit is contained in:
Kamran Ahmed
2023-01-12 14:41:54 +04:00
parent 5f23d4c7eb
commit ba86e8a6b1
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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.