Improve stuffs about assertion call and assertions
Created by: peter279k
Changed log
- Using the
assertNull
to assert expected isnull
. - PHPUnit has two ways to make assertion call. One is
$this
and another one isself::
. It seems that usingself::
times is greater than using$this
. To be consistency, using theself
to make assertion call on this repository. - Using the
assertSame
to replaceassertEquals
and it can let all assertions make equals checking strictly.