Fixed tests.
Fixed tests.

Two things were fixed:
* assertType() was replaced by assertInternalType() to make that tests can work with latest stable phpunit version
* one mock expectation was updated to prevent it from failing

woledzki/Phabric