Skip to content

Commit 9acb5b1

Browse files
committed
Replace "black box" with alternative term
See gh-25262
1 parent 972c01c commit 9acb5b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/testing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7268,7 +7268,7 @@ Another important distinction when using Spring MVC Test is that, conceptually,
72687268
tests are the server-side, so you can check what handler was used, if an exception was
72697269
handled with a HandlerExceptionResolver, what the content of the model is, what binding
72707270
errors there were, and other details. That means that it is easier to write expectations,
7271-
since the server is not a black box, as it is when testing it through an actual HTTP
7271+
since the server is not an opaque box, as it is when testing it through an actual HTTP
72727272
client. This is generally an advantage of classic unit testing: It is easier to write,
72737273
reason about, and debug but does not replace the need for full integration tests. At the
72747274
same time, it is important not to lose sight of the fact that the response is the most

0 commit comments

Comments
 (0)