Example #1
0
 @Test
 public void testInalidParseInteger() {
   assertThat(Adapters.parseInt().adapt("SEVEN"), is(nullValue()));
 }
Example #2
0
 @Test
 public void testValidParseInteger() {
   assertThat(Adapters.parseInt().adapt("42"), is(42));
 }