Commit 2db6f51e authored by Simon Welsh's avatar Simon Welsh

Add a test for IsType having the $types property

Closes #19
parent d88509d5
<?hh // strict
namespace PHPUnitHHI;
class ConstraintTest extends HHITest {
public function testIsTypeHasTypes(): void {
<?hh // strict
class PHPUnit_Hhi_Constraint extends PHPUnit\Framework\Constraint\IsType {
protected function foo(): void {
$this->types['foo'] = false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment