use old school Set construction

This commit is contained in:
Renato Cavalcanti 2021-05-25 14:21:29 +02:00
parent dd8b514e89
commit 678dea73d8
No known key found for this signature in database
GPG key ID: 75C015C04523E07C

View file

@ -355,7 +355,10 @@ public class BasicPersistentBehaviorTest {
// #tagging
@Override
public Set<String> tagsFor(Event event) {
throw new RuntimeException("TODO: inspect the event and return any tags it should have");
Set<String> tags = new HashSet<>();
tags.add("tag1");
tags.add("tag2");
return tags;
}
// #tagging
// #supervision