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

Method resourceCurrent

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

Source from the content-addressed store, hash-verified

103 }
104
105 @Test
106 void resourceCurrent() {
107 final var dotenv = Dotenv.configure()
108 .ignoreIfMalformed()
109 .load();
110
111 assertEquals("my test ev 1", dotenv.get("MY_TEST_EV1"));
112 assertHostEnvVar(dotenv);
113 }
114
115 @Test
116 void systemProperties() {

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