Do you have tests for this method for each of the cases?