toContain('teamChannelListeners([') ->toContain("'BackupCreated' => '\$refresh'") ->and($serviceBackups) ->toContain('teamChannelListeners([') ->toContain("'BackupCreated' => '\$refresh'") ->and($databaseExecutions) ->toContain("'BackupCreated' => 'refreshBackupExecutions'") ->not->toContain('$userId = Auth::id()') ->and(strpos($databaseBackupJob, "'finished_at' => Carbon::now()->toImmutable()")) ->toBeLessThan(strrpos($databaseBackupJob, 'BackupCreated::dispatch($this->team->id)')); });