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