Skip to content
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

Include ESH at testing, instead of a mock object #8

Open
dandrid opened this issue Sep 5, 2017 · 0 comments
Open

Include ESH at testing, instead of a mock object #8

dandrid opened this issue Sep 5, 2017 · 0 comments

Comments

@dandrid
Copy link
Collaborator

dandrid commented Sep 5, 2017

From the droolsbundle, we are using our interface to access the event bus, which is mocked by EventBusMock, but when we post a command on it, there is no ESH to process that command, and apply the correct state for the Item (to keep the test case minimal). Currently, there is a workaround, so the mock object applies the state to the Item from the command, which is good in the most of the cases, but not a fully featured implementation, like ESH.

Maybe finding out how ESH handles this procedure, and using only that module is enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant