Simplify assertAssignableTo