MCPcopy Index your code
hub / github.com/cdimascio/dotenv-java / load

Method load

src/test/java/tests/DotenvTests.java:30–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 @Test
31 void load() {
32 assertThrows(DotenvException.class, () -> {
33 final var dotenv = Dotenv.load();
34 envVars.keySet().forEach(envName -> assertEquals(envVars.get(envName), dotenv.get(envName)));
35 });
36 }
37
38 @Test
39 void iteratorOverDotenv() {

Callers

nothing calls this directly

Calls 2

loadMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected