Update content headings
This commit is contained in:
1 parent
5f23d4c7eb
commit
ba86e8a6b1
2 files changed
+2
-2
No files matched your search
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user