} else {
<BUG>for (String p : expected) {
</BUG>
Assert.assertTrue(actual.contains(p));
}
<BUG>for (String p : actual) {
</BUG>
Assert.assertTrue(expected.contains(p));
}
}

} else {
for (String p : expected) {
Assert.assertTrue(actual.getPermissions().contains(p));
