MCPcopy Create free account
hub / github.com/traneio/future / getEmpty

Method getEmpty

future-java/src/test/java/io/trane/future/LocalTest.java:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 Local<Integer> l = Local.apply();
13
14 @Test
15 public void getEmpty() {
16 assertEquals(Optional.empty(), l.get());
17 }
18
19 @Test
20 public void getEmptyFreshThread() throws InterruptedException {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected