pass the method arguments inside the .When() clause