michaelpetri/phpunit-consecutive-arguments 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

michaelpetri/phpunit-consecutive-arguments

最新稳定版本:0.3.2

Composer 安装命令:

composer require --dev michaelpetri/phpunit-consecutive-arguments

包简介

Replacement for the removed InvocationMocker::withConsecutive method.

README 文档

README

Replacement for the removed InvocationMocker::withConsecutive method.

Type Coverage Latest Stable Version License

Installation

composer require michaelpetri/phpunit-consecutive-arguments 

Example

        $mock
            ->expects(self::exactly(\count(2)))
            ->method('someMethod')
            ->with(
                ...ConsecutiveArguments::of(
                    ['1.1', '1.2'],
                    ['2.1', '2.2'],
            );

See Tests for more examples

统计信息

  • 总下载量: 2.81k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-19