-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sealed ZHub - problem with test instance #5045
Comments
@PawelJ-PL |
Solution with |
@PawelJ-PL Awesome! Are we good to close this then? Thanks for trying out |
Yes, I'll close issue. Thank you for suggestion. |
Hi,
I've found a pretty fresh PR #4925 (already merged). This approach makes unit tests more complicated. Normally I would create my custom implementation of
ZHub
for the test which would useRef
to collect published messages (to verify them later in the test). But since this change it's impossible.Now I have to implement not nice solution like:
I think, It may be worth considering treating
ZHub
as a regular trait instead of sealedThe text was updated successfully, but these errors were encountered: