amGoingTo("create entity that has the stepKey: createCategoryKey1"); PersistedObjectHandler::getInstance()->createEntity( "createCategoryKey1", "hook", "ApiCategory", [], null ); $I->amGoingTo("create entity that has the stepKey: createConfigProductKey1"); PersistedObjectHandler::getInstance()->createEntity( "createConfigProductKey1", "hook", "ApiConfigurableProduct", ["createCategoryKey1"], null ); } /** * @Features({"TestModule"}) * @Parameter(name = "AcceptanceTester", value="$I") * @param AcceptanceTester $I * @return void * @throws \Exception */ public function ActionGroupUsingCreateData(AcceptanceTester $I) { } }