Verifying method parameters using Phake is very simple yet can be very flexible. There are a wealth of options for matching parameters that is discussed later on in Method Parameter Matchers.