-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: testIssues in the test moduleIssues in the test moduletype: enhancementA general enhancementA general enhancement
Milestone
Description
Sam Brannen opened SPR-11395 and commented
Status Quo
The AnnotationDrivenStaticEntityMockingControl
aspect ensures that all expectations on the mock have been fulfilled automatically when the invocation of the advised method (typically an @Test
method) completes successfully (i.e., does not throw an exception). This behavior is normally sufficient; however, there are times when it would be convenient to be able to manually (programmatically) verify the recorded expectations and/or reset the state of the mock.
Deliverables
- Introduce a
verify()
method inAnnotationDrivenStaticEntityMockingControl
. - Introduce a
reset()
method inAnnotationDrivenStaticEntityMockingControl
.
Affects: 4.0 GA
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)in: testIssues in the test moduleIssues in the test moduletype: enhancementA general enhancementA general enhancement