File: NoClass.php

package info (click to toggle)
php-phpspec-prophecy-phpunit 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 208 kB
  • sloc: php: 197; makefile: 17
file content (18 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Prophecy\PhpUnit\Tests\Fixtures;

use PHPUnit\Framework\TestCase;
use Prophecy\PhpUnit\ProphecyTrait;

class NoClass extends TestCase
{
    use ProphecyTrait;

    public function testProphesizeWithoutArguments(): void
    {
        $prophecy = $this->prophesize()->reveal();
        
        $this->assertInstanceOf(\stdClass::class, $prophecy);
    }
}