@Test
public void nullNotInComparision() throws Exception {

    final List<Null> nulls = new JavaSourceFile(
        "class A {\n",
        "    void a() {\n",
        "        String name = \"Some name\";",
        "        if (name.equals(null)) {}",
        "    }\n",
        "}\n"
    ).nulls().asList();
    Assert.assertThat(
        nulls.size(),
        IsEqual.equalTo(1)
    );
    Assert.assertThat(
        nulls.get(0).isInComparision(),
        IsEqual.equalTo(false)
    );
}