ExpectToBeBoolean.java should handle null and not throw NPE.