Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Actively throw NPEs when un/registering null objects #90

Merged
merged 1 commit into from
Jun 24, 2013

Conversation

holmes
Copy link
Collaborator

@holmes holmes commented Jun 24, 2013

No description provided.

JakeWharton added a commit that referenced this pull request Jun 24, 2013
Actively throw NPEs when un/registering null objects
@JakeWharton JakeWharton merged commit 36e88fd into master Jun 24, 2013
@JakeWharton JakeWharton deleted the holmes/message-when-null branch June 24, 2013 18:34
@@ -136,6 +136,24 @@
EVENT, events.get(0).event);
}

@Test public void testNullInteractions() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@test(expected = NullPointException.class) is more JUnit4-ish

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

Successfully merging this pull request may close these issues.

3 participants