Add test for null in constructor #592

This commit is contained in:
Timo Westkämper 2013-12-12 17:43:44 +02:00
parent c6403f2c90
commit c3daa0fcbc

View File

@ -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();