public static function injectMock(string $name, $mock)
	{
		$name                 = strtolower($name);
		static::$mocks[$name] = $mock;
	}
public static function injectMock(string $name, $mock)
	{
		$name                 = strtolower($name);
		static::$mocks[$name] = $mock;
	}
public static function injectMock ( string $ name , $ mock ) { $ name = strtolower ( $ name ) ; static :: $ mocks [ $ name ] = $ mock ; }
Inject mock object for testing.

@param string $name
@param $mock
Inject mock object for testing .