It depends, what kind of code you want insert into "verifyCookie" method. If you want to test, lets say if web because of cookie will suggest you a value of input, then its another test and should be public. If there is something like java script in the method, then this code should be in helper and not in cest. and if there is some test, you want to run in the middle or before / after of some tests, then, you can make function protected and call you from test when you need it. If my advice wasn't helpful, please give me a more extensive example, what specifickly you mean.