Closed
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 areset()
method inAnnotationDrivenStaticEntityMockingControl
.
Affects: 4.0 GA
Metadata
Metadata
Assignees
Labels
Type
Projects
Relationships
Development
No branches or pull requests
Activity
spring-projects-issues commentedon Feb 5, 2014
Sam Brannen commented
Resolved as described in the comments for GitHub commit 624170f: