The return type of `settings.isBoldEnabled()` is `Boolean`, and `null` is a valid value too (and I saw it in the debugging mode. too).

Following test case will pass, because the line performing autoboxing will cause NPE.

```java
@Test(expected = NullPointerException.class)
public void testAutoboxing() throws Exception {
    Boolean value = null;
    boolean booleanValue = value;
    failBecauseExceptionWasNotThrown(NullPointerException.class);
}
```