@Before
  public void setup() {
    CheckInputReadEntityDirect.readEntities = null;
  }
Test if ReadEntity isDirect flag is set correctly to indicate if
the entity represents a direct or indirect dependency. See documentation
of flag in ReadEntity.
ql/src/test/org/apache/hadoop/hive/ql/plan/TestReadEntityDirect.java