@ -250,18 +250,24 @@ If such test needs access to an `MBeanServer`, consider marking it dirty as well
@@ -250,18 +250,24 @@ If such test needs access to an `MBeanServer`, consider marking it dirty as well
When running tests, it is sometimes necessary to mock certain components within your application context.
@ -280,7 +286,6 @@ If your test uses one of Spring Boot's test annotations (such as `@SpringBootTes
@@ -280,7 +286,6 @@ If your test uses one of Spring Boot's test annotations (such as `@SpringBootTes
To use this feature with a different arrangement, listeners must be explicitly added, as shown in the following example:
include::code:listener/MyTests[]
====
The following example replaces an existing `RemoteService` bean with a mock implementation:
@ -493,6 +498,7 @@ When a MOCK environment is configured, you can also request an `HttpGraphQlTeste
@@ -493,6 +498,7 @@ When a MOCK environment is configured, you can also request an `HttpGraphQlTeste