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

@saleem's additional unit test for the Tire Pressure Monitoring System, using a custom mock class #18

Merged
merged 3 commits into from
Oct 18, 2013

Conversation

saleem
Copy link

@saleem saleem commented Oct 18, 2013

This solution has a new JUnit test class: AlarmTestUsingCustomMock. This illustrates the amount of verbose (and somewhat inelegant) code one has to write if a mocking framework like Mockito isn't used. It's useful for comparative purposes only -- as a "don't do this in practice" sort of thing!

lucaminudel added a commit that referenced this pull request Oct 18, 2013
@saleem's additional unit test for the Tire Pressure Monitoring System, using a custom mock class
@lucaminudel lucaminudel merged commit f130238 into lucaminudel:master Oct 18, 2013
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

Successfully merging this pull request may close these issues.

2 participants