mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-17 09:41:08 +01:00
Add tests for SelectUserId
This commit is contained in:
parent
ab39f0e2f3
commit
ebf46fa05e
2 changed files with 133 additions and 0 deletions
|
|
@ -118,4 +118,13 @@ public abstract class SelectUserId {
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static SelectUserId not(SelectUserId strategy) {
|
||||
return new SelectUserId() {
|
||||
@Override
|
||||
protected boolean accept(String userId) {
|
||||
return !strategy.accept(userId);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue