mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-16 21:01:10 +08:00
Add test for null in constructor #592
This commit is contained in:
parent
c6403f2c90
commit
c3daa0fcbc
@ -32,6 +32,11 @@ public class BooleanBuilderTest {
|
||||
|
||||
private final BooleanExpression second = BooleanConstant.FALSE;
|
||||
|
||||
@Test
|
||||
public void Null_In_Constructor() {
|
||||
assertNull(new BooleanBuilder(null).getValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void And_Empty() {
|
||||
BooleanBuilder builder = new BooleanBuilder();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user