1<?php
2class Issue2137Test extends PHPUnit_Framework_TestCase
3{
4    /**
5     * @dataProvider provideBrandService
6     * @param $provided
7     * @param $expected
8     */
9    public function testBrandService($provided, $expected)
10    {
11        $this->assertSame($provided, $expected);
12    }
13
14
15    public function provideBrandService()
16    {
17        return [
18            //[true, true]
19            new stdClass() // not valid
20        ];
21    }
22
23
24    /**
25     * @dataProvider provideBrandService
26     * @param $provided
27     * @param $expected
28     */
29    public function testSomethingElseInvalid($provided, $expected)
30    {
31        $this->assertSame($provided, $expected);
32    }
33}
34