address = $value; return $this; } /** * gets the mail address * * @since 30.0.0 * * @return string|null returns the mail address or null if one is not set */ public function getAddress(): ?string { return $this->address; } /** * sets the mail address label/name * * @since 30.0.0 * * @param string $value mail address label/name * * @return self return this object for command chaining */ public function setLabel(string $value): self { $this->label = $value; return $this; } /** * gets the mail address label/name * * @since 30.0.0 * * @return string|null returns the mail address label/name or null if one is not set */ public function getLabel(): ?string { return $this->label; } } ption> Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Talk/ConversationOptionsTest.php
blob: ca6befbd7c95d48d02cf719c9787f064641760d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

namespace Test\Talk;

use OC\Talk\ConversationOptions;
use Test\TestCase;

class ConversationOptionsTest extends TestCase {
	public function testDefaults(): void {
		ConversationOptions::default();

		$this->addToAssertionCount(1);
	}
}