MCPcopy Create free account
hub / github.com/akeranen/the-one / setUp

Method setUp

test/MessageTest.java:23–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 private SimClock sc;
22
23 @Before
24 public void setUp() throws Exception {
25 sc = SimClock.getInstance();
26 sc.setTime(10);
27
28 msg = new Message(from, to, "M", 100);
29 msg.setTtl(10);
30
31 }
32
33 @Test
34 public void testGetTtl() {

Callers

nothing calls this directly

Calls 3

getInstanceMethod · 0.95
setTtlMethod · 0.80
setTimeMethod · 0.45

Tested by

no test coverage detected