PHPUnit is a collection of testing modules, hence the name. Unit testing is, by definition, writing tests for each unit - that is, each class, each method - as separately as possible from any other part of the system. Every thing that users can use, you want to try to verify that it is - and only it, among other things, performs the functions as indicated.
, (, , ) , . : "... , , ?", , , . , , ; , , , .