private MockObject&EntitySearchResult
$entitySearchResult;
private SetCustomerGroupCustomFieldAction
$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 SetCustomerGroupCustomFieldAction($this->connection,
$this->repository
);
} public function testRequirements(): void
{ static::
assertSame( [CustomerGroupAware::
class],
$this->action->
requirements() );
} public function testName(): void
{