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

Method testAddProperty

test/MessageTest.java:52–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 @Test
53 public void testAddProperty() {
54 String value1 = "value1";
55 String value2 = "value2";
56 msg.addProperty("foo", value1);
57 msg.addProperty("bar", value2);
58
59 assertEquals(value1, msg.getProperty("foo"));
60 assertEquals(value2, msg.getProperty("bar"));
61 }
62
63
64}

Callers

nothing calls this directly

Calls 2

addPropertyMethod · 0.45
getPropertyMethod · 0.45

Tested by

no test coverage detected