Make assertPresent and assertAbsent public