infer calling class in assertOutput