Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

Refactor core handler test #10

Closed
wants to merge 2 commits into from
Closed

Refactor core handler test #10

wants to merge 2 commits into from

Conversation

mapingo
Copy link
Contributor

@mapingo mapingo commented Mar 2, 2016

No description provided.

@@ -29,44 +27,48 @@
private CommandHandler commandHandler;

@Test
public void shouldExecuteHandlerMethod() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, IOException {
public void shouldExecuteHandlerMethod() throws Exception {
Envelope envelope = testEnvelope("envelope.json");
Copy link
Contributor

Choose a reason for hiding this comment

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

Could make this value a constant as it is reused.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved to @before and set field.

@mapingo mapingo closed this Mar 2, 2016
@mapingo mapingo deleted the refactor-test branch March 3, 2016 11:13
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.

None yet

2 participants