@Test
public void nullsInPrivateInterfaceMethod() throws Exception {

    Assert.assertThat(
        new JavaSourceFile(
            "interface A {\n",
            "    private void a() {\n",
            "        String a = null;\n",
            "    }\n",
            "}\n"
        ).nulls().asList().size(),
        IsEqual.equalTo(1)
    );
}