Skip to content

Commit

Permalink
FORGE-2428: Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Aug 7, 2015
1 parent f56d3b0 commit 72e8c87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ public void testChoiceValuesInjection()
Assert.assertThat(selectBoolean.getValueChoices(), not(nullValue()));
Assert.assertTrue(selectBoolean.getValueChoices().iterator().hasNext());

// Manually created choice values are null
// Manually created choice values are not null
UISelectOne<Boolean> selectOne = inputFactory.createSelectOne("selectOne", Boolean.class);
Assert.assertNotNull(selectOne.getValueChoices());
Assert.assertFalse(selectOne.getValueChoices().iterator().hasNext());
Assert.assertTrue(selectOne.getValueChoices().iterator().hasNext());
}

@Test(expected = IllegalArgumentException.class)
Expand Down

0 comments on commit 72e8c87

Please sign in to comment.