You can disable notice-to-exception conversion by setting
PHPUnit_Framework_Error_Warning::$enabled = FALSE;
PHPUnit_Framework_Error_Warning::$enabled = FALSE;