RestApi PHPUnit partially