@Test
public void emptyNullsWhenSuppressed() throws Exception {

    Assert.assertThat(
        new ExcludeSuppressed(
            new JavaSourceFile(
                "class A {\n",
                "    void method() {\n",
                "        @SuppressWarnings(\"nullfree\")\n",
                "        String name = null;\n",
                "    }\n",
                "}\n"
            ).nulls()
        ).asList().isEmpty(),
        IsEqual.equalTo(true)
    );
}