Creating performPrerequisiteCheckWithError stub