Hi Mark, I don't agree here. I think the test is correct and reflects the assertion, which corresponds to "4.3. Specialization" where in the end of the chapter we have:
When an enabled bean, as defined in Section 5.1.2, “Enabled and disabled beans”, specializes a second bean, we can be certain that the second bean is never instantiated or called by the container.
|