| 1 | <?php |
||
| 10 | class BpmOnlineTest extends TestCase |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var BpmOnline |
||
| 15 | */ |
||
| 16 | private $bpmOnline; |
||
| 17 | |||
| 18 | protected function setUp() |
||
| 19 | { |
||
| 20 | $httpClient = $this->prophesize(HttpClient::class); |
||
| 21 | |||
| 22 | $config = $this->prophesize(Config::class); |
||
| 23 | |||
| 24 | |||
| 25 | |||
| 26 | $this->bpmOnline = new BpmOnline( |
||
| 27 | $httpClient->reveal(), |
||
| 28 | $config->reveal() |
||
| 29 | ); |
||
| 30 | } |
||
| 31 | |||
| 32 | protected function tearDown() |
||
| 33 | { |
||
| 34 | $this->bpmOnline = null; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function testStub() |
||
| 38 | { |
||
| 39 | $this->assertEquals('test', 'test'); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |