assertEquals(new HashSet<>(commandMap.values()), new HashSet<>(commands));
})
.get(2, TimeUnit.SECONDS);
verify(requestHandler, times(3)).handle(argument.capture());
}
<BUG>@Test
public void testFindCommandsByGuidAndName() throws Exception {</BUG>
final List<String> names = IntStream.range(0, 5)
.mapToObj(i -> RandomStringUtils.randomAlphabetic(10))
.collect(Collectors.toList());

assertEquals(new HashSet<>(commandMap.values()), new HashSet<>(commands));
})
.get(2, TimeUnit.SECONDS);
verify(requestHandler, times(3)).handle(argument.capture());
}
@Test
@DirtiesContext(methodMode = DirtiesContext.MethodMode.BEFORE_METHOD)
public void testFindCommandsByGuidAndName() throws Exception {
final List<String> names = IntStream.range(0, 5)
.mapToObj(i -> RandomStringUtils.randomAlphabetic(10))
.collect(Collectors.toList());
