How to Install phpunit-mock-object software package in Ubuntu 14.04 LTS (Trusty Tahr)

How to Install phpunit-mock-object software package in Ubuntu 14.04 LTS (Trusty Tahr)

phpunit-mock-object software package provides Mock Object library for PHPUnit, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install phpunit-mock-object 

phpunit-mock-object is installed in your system.

Make ensure the phpunit-mock-object package were installed using the commands given below,

$ sudo dpkg-query -l | grep phpunit-mock-object *

You will get with phpunit-mock-object package name, version, architecture and description in a table

phpunit-mock-object package basic information:

Distro Ubuntu 14 04 lts trusty tahr
Section PHP
Package phpunit-mock-object
Version 1.2.3-1
Description Mock Object library for PHPUnit
Sub Section PHP


See Also, How to uninstall or remove phpunit-mock-object software package from Ubuntu 14.04 LTS (Trusty Tahr)?