Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DiUS/java-faker
/ ean8
Method
ean8
src/test/java/com/github/javafaker/CodeTest.java:105–108 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
103
}
104
105
@Test
106
public
void
ean8() {
107
assertThat(faker.code().ean8(), matchesRegularExpression(
"\\d{8}"
));
108
}
109
110
@Test
111
public
void
gtin8() {
Callers
nothing calls this directly
Calls
2
matchesRegularExpression
Method · 0.80
code
Method · 0.45
Tested by
no test coverage detected