Skip to content

Metamorph tests should verify that no unexpected interactions occurred #339

@blackwinter

Description

@blackwinter

When verifying Metamorph streams, unexpected events may go unnoticed without Mockito.verifyNoMoreInteractions() (and InOrder.verifyNoMoreInteractions()).

The author's "warning" doesn't apply here, IMHO, since we actually do want to check the resulting data structure (i.e., event stream) as a whole.

Originally posted by @blackwinter in #338 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions