. * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU Affero General Public License version 3. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * these Appropriate Legal Notices must retain the display of the "EspoCRM" word. ************************************************************************/ namespace tests\integration\Espo\Tools\Notification; use Espo\Core\Select\SearchParams; use Espo\Entities\User; use Espo\Tools\Notification\RecordService; use tests\integration\Core\BaseTestCase; class RecordServiceTest extends BaseTestCase { /** * @noinspection PhpUnhandledExceptionInspection */ public function testGet(): void { $this->createUser('tester'); $this->authenticate('tester'); $service = $this->getInjectableFactory()->create(RecordService::class); $user = $this->getContainer()->getByClass(User::class); $service->get($user, SearchParams::create()); $this->assertTrue(true); } }