105106107108109110111112113114
Dependency aggregate = new Dependencies(Arrays.asList( new Dependency[] { dependency1Mock, dependency2Mock })); Freshness actual = aggregate.freshness(contextMock); assertEquals(expected, actual); } }