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