This is what I was looking for, how to pass things to a method for testing.
But what was really throwing me off is PHPUnit wasn't including the file with the class I am testing correctly. I still have the problem but I am using a portable version and don't understand yet what is going on.
Do any of you know how portable version of PHPUnit work?
I get class not found errors I tried it on a few separate test and none of them are working. Everyone gets class not found errors.
Would having PHPUnit installed on server and having Portable version running from directories using includes be causing this?
What might be some things to look into as far as fixing the class not found, is it some sorta config file?
Thank you for all the help I know these are very newbie questions:)
I searched the web and found many having problems with this but don't fully understand how there fixing the problem.