Skip to content

Commit

Permalink
Rafactor method names
Browse files Browse the repository at this point in the history
  • Loading branch information
githengi committed Jan 19, 2021
1 parent 3b96e97 commit e55cc60
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void testGetViewsFromJsonShouldReturnView() throws Exception {
}

@Test
public void testValidateShouldReturnShouldFail() throws Exception {
public void testValidateShouldReturnFailedValidation() throws Exception {
factory.getViewsFromJson("step1", context, formFragment, jsonObject, listener);
verify(jsonApi).addFormDataView(textViewArgumentCaptor.capture());
TextView textView = textViewArgumentCaptor.getValue();
Expand All @@ -83,7 +83,7 @@ public void testValidateShouldReturnShouldFail() throws Exception {
}

@Test
public void testValidateShouldReturnShouldPassWhenViewIsNotShown() throws Exception {
public void testValidateShouldReturnValidValidationWhenViewIsNotShown() throws Exception {
factory.getViewsFromJson("step1", context, formFragment, jsonObject, listener);
verify(jsonApi).addFormDataView(textViewArgumentCaptor.capture());
TextView textView = textViewArgumentCaptor.getValue();
Expand Down

0 comments on commit e55cc60

Please sign in to comment.