()
| 95 | } |
| 96 | |
| 97 | @Test |
| 98 | public void imei() { |
| 99 | String imei = faker.code().imei(); |
| 100 | |
| 101 | assertThat(imei, matchesRegularExpression("\\A[\\d\\.\\:\\-\\s]+\\z")); |
| 102 | assertThat(LuhnCheckDigit.LUHN_CHECK_DIGIT.isValid(imei), is(true)); |
| 103 | } |
| 104 | |
| 105 | @Test |
| 106 | public void ean8() { |
nothing calls this directly
no test coverage detected