Use mock and verify the correct methods are called.
Update version.