Skip to content

Commit 298f24c

Browse files
committed
add test for assign with non-mock object type
1 parent 3aada1f commit 298f24c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace Rector\Tests\TypeDeclaration\Rector\Class_\TypedPropertyFromCreateMockAssignRector\Fixture;
4+
5+
use PHPUnit\Framework\TestCase;
6+
7+
class SkipNonMockObjectType extends TestCase
8+
{
9+
public $someProperty;
10+
11+
protected function setUp(): void
12+
{
13+
$this->someProperty = 'some property value';
14+
}
15+
}

0 commit comments

Comments
 (0)