def METHOD_NAME(self):
    with mock.patch('mooseutils.check_output', return_value='moosetest') as mock_check_output:
        self.assertTrue(mooseutils.git_is_config('user.name', 'moosetest', '/working/dir'))
    mock_check_output.assert_called_with(['git', 'config', '--get', 'user.name'], cwd='/working/dir')