@Test
public void assignSuppressedNull() throws Exception {

    final List<Null> nulls = new JavaSourceFile(
        "class A {\n",
        "    void method() {\n",
        "        @SuppressWarnings(\"nullfree\")\n",
        "        String name = null;\n",
        "    }\n",
        "}\n"
    ).nulls().asList();
    Assert.assertThat(
        nulls.size(),
        IsEqual.equalTo(1)
    );
    Assert.assertThat(
        nulls.get(0).isSuppressed(),
        IsEqual.equalTo(true)
    );
}