allows multiple function expectations