MCPcopy Create free account
hub / github.com/cdimascio/dotenv-java / iterateOverDotenv

Method iterateOverDotenv

src/test/java/tests/BasicTests.java:139–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 }
138
139 @Test
140 void iterateOverDotenv() {
141 final var dotenv = Dotenv.configure()
142 .ignoreIfMalformed()
143 .load();
144
145 for (final var e : dotenv.entries()) {
146 assertEquals(dotenv.get(e.getKey()), e.getValue());
147 }
148 }
149
150 @Test
151 void iterateOverEnvVar() {

Callers

nothing calls this directly

Calls 7

configureMethod · 0.95
ignoreIfMalformedMethod · 0.80
getKeyMethod · 0.80
getValueMethod · 0.80
loadMethod · 0.65
entriesMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected