void () { final SMTestProxy suite = createSuiteProxy("root"); final SMTestProxy test1 = createTestProxy("test1", suite); final SMTestProxy test2 = createTestProxy("test2", suite); assertNull(suite.getDuration()); test1.setDuration(5); Long duration = suite.getDuration(); assertNotNull(duration); assertEquals(5L, duration.longValue()); test2.setDuration(6); duration = suite.getDuration(); assertNotNull(duration); assertEquals(11L, duration.longValue()); }