()
| 113 | } |
| 114 | |
| 115 | @Test |
| 116 | public void ean13() { |
| 117 | String ean13 = faker.code().ean13(); |
| 118 | assertThat(ean13, matchesRegularExpression("\\d{13}")); |
| 119 | assertThat(EAN13CheckDigit.EAN13_CHECK_DIGIT.isValid(ean13), is(true)); |
| 120 | } |
| 121 | |
| 122 | @Test |
| 123 | public void gtin13() { |
nothing calls this directly
no test coverage detected