@skipIf(_docker_py_version() < (1, 5, 0),
            'docker module must be installed to run this test or is too old. >=1.5.0')
    def test_remove_volume(self, *args):
        __salt__ = {
            'config.get': Mock(),
            'mine.send': Mock(),
        }
        client = Mock()
        client.api_version = '1.21'
        with patch.dict(dockerng_mod.__dict__,
                        {'__salt__': __salt__}):
            with patch.dict(dockerng_mod.__context__,
                            {'docker.client': client}):
                dockerng_mod.remove_volume('foo')
        client.remove_volume.assert_called_once_with('foo')
Test Negative Binomial family with canonical log link
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/dockerng_test.py/DockerngTestCase.test_remove_volume--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/genmod/tests/test_glm.py/TestGlmNegbinomial.__init__