private MockObject&EntitySearchResult
$entitySearchResult;
private SetOrderCustomFieldAction
$action;
protected function setUp(): void
{ $this->connection =
$this->
createMock(Connection::
class);
$this->repository =
$this->
createMock(EntityRepository::
class);
$this->entitySearchResult =
$this->
createMock(EntitySearchResult::
class);
$this->action =
new SetOrderCustomFieldAction($this->connection,
$this->repository
);
} public function testRequirements(): void
{ static::
assertSame( [OrderAware::
class],
$this->action->
requirements() );
} public function testName(): void
{