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

Method noSystemProperties

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

Source from the content-addressed store, hash-verified

126 }
127
128 @Test
129 void noSystemProperties() {
130 final var dotenv = Dotenv.configure()
131 .ignoreIfMalformed()
132 .load();
133
134 assertHostEnvVar(dotenv);
135 assertEquals("my test ev 1", dotenv.get("MY_TEST_EV1"));
136 assertNull(System.getProperty("MY_TEST_EV1"));
137 }
138
139 @Test
140 void iterateOverDotenv() {

Callers

nothing calls this directly

Calls 5

configureMethod · 0.95
assertHostEnvVarMethod · 0.95
ignoreIfMalformedMethod · 0.80
loadMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected