1<?php
2class TestWithTest extends PHPUnit_Framework_TestCase
3{
4    /**
5     * @testWith [0, 0, 0]
6     *           [0, 1, 1]
7     *           [1, 2, 3]
8     *           [20, 22, 42]
9     */
10    public function testAdd($a, $b, $c)
11    {
12        $this->assertEquals($c, $a + $b);
13    }
14
15    public static function providerMethod()
16    {
17        return [
18          [0, 0, 0],
19          [0, 1, 1],
20          [1, 1, 3],
21          [1, 0, 1]
22        ];
23    }
24}
25