Exemplo n.º 1
0
 @Test
 public void testWhenValidPinNumber() throws Exception {
   Assert.assertTrue(validator.isValid(1, null));
 }
Exemplo n.º 2
0
 @Test
 public void testWhenNull() throws Exception {
   Assert.assertFalse(validator.isValid(null, null));
 }
Exemplo n.º 3
0
 @Test
 public void testWhenInvalidPinNumber() throws Exception {
   Assert.assertFalse(validator.isValid(50, null));
 }