Skip to content

Commit e869d5b

Browse files
committed
Remove test comments
1 parent ac4a446 commit e869d5b

100 files changed

Lines changed: 826 additions & 2478 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

test/Model/AccountRequestTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,15 @@ public static function tearDownAfterClass(): void
7373
{
7474
}
7575

76-
/**
77-
* Test attribute "alias"
78-
*/
76+
7977
public function testPropertyAlias()
8078
{
8179

8280
$this->AccountRequest->setAlias('TS');
8381
$this->assertEquals('TS', $this->AccountRequest->getAlias());
8482
$this->assertIsString($this->AccountRequest->getAlias());
8583
}
86-
/**
87-
* Test attribute "label"
88-
*/
84+
8985
public function testPropertyLabel()
9086
{
9187

test/Model/AccountResultTest.php

Lines changed: 11 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -73,39 +73,31 @@ public static function tearDownAfterClass(): void
7373
{
7474
}
7575

76-
/**
77-
* Test attribute "uri"
78-
*/
76+
7977
public function testPropertyUri()
8078
{
8179

8280
$this->AccountResult->setUri('TS');
8381
$this->assertEquals('TS', $this->AccountResult->getUri());
8482
$this->assertIsString($this->AccountResult->getUri());
8583
}
86-
/**
87-
* Test attribute "date_created"
88-
*/
84+
8985
public function testPropertyDateCreated()
9086
{
9187

9288
$this->AccountResult->setDateCreated('TS');
9389
$this->assertEquals('TS', $this->AccountResult->getDateCreated());
9490
$this->assertIsString($this->AccountResult->getDateCreated());
9591
}
96-
/**
97-
* Test attribute "date_updated"
98-
*/
92+
9993
public function testPropertyDateUpdated()
10094
{
10195

10296
$this->AccountResult->setDateUpdated('TS');
10397
$this->assertEquals('TS', $this->AccountResult->getDateUpdated());
10498
$this->assertIsString($this->AccountResult->getDateUpdated());
10599
}
106-
/**
107-
* Test attribute "revision"
108-
*/
100+
109101
public function testPropertyRevision()
110102
{
111103

@@ -115,59 +107,47 @@ public function testPropertyRevision()
115107
$this->assertIsNumeric($this->AccountResult->getrevision());
116108

117109
}
118-
/**
119-
* Test attribute "account_id"
120-
*/
110+
121111
public function testPropertyAccountId()
122112
{
123113

124114
$this->AccountResult->setAccountId('TS');
125115
$this->assertEquals('TS', $this->AccountResult->getAccountId());
126116
$this->assertIsString($this->AccountResult->getAccountId());
127117
}
128-
/**
129-
* Test attribute "api_key"
130-
*/
118+
131119
public function testPropertyApiKey()
132120
{
133121

134122
$this->AccountResult->setApiKey('TS');
135123
$this->assertEquals('TS', $this->AccountResult->getApiKey());
136124
$this->assertIsString($this->AccountResult->getApiKey());
137125
}
138-
/**
139-
* Test attribute "alias"
140-
*/
126+
141127
public function testPropertyAlias()
142128
{
143129

144130
$this->AccountResult->setAlias('TS');
145131
$this->assertEquals('TS', $this->AccountResult->getAlias());
146132
$this->assertIsString($this->AccountResult->getAlias());
147133
}
148-
/**
149-
* Test attribute "label"
150-
*/
134+
151135
public function testPropertyLabel()
152136
{
153137

154138
$this->AccountResult->setLabel('TS');
155139
$this->assertEquals('TS', $this->AccountResult->getLabel());
156140
$this->assertIsString($this->AccountResult->getLabel());
157141
}
158-
/**
159-
* Test attribute "type"
160-
*/
142+
161143
public function testPropertyType()
162144
{
163145
$this->AccountResult->settype(\FreeClimb\Api\Model\AccountType::TRIAL);
164146
$this->assertEquals(\FreeClimb\Api\Model\AccountType::TRIAL, $this->AccountResult->gettype());
165147
$this->AccountResult->settype(\FreeClimb\Api\Model\AccountType::FULL);
166148
$this->assertEquals(\FreeClimb\Api\Model\AccountType::FULL, $this->AccountResult->gettype());
167149
}
168-
/**
169-
* Test attribute "status"
170-
*/
150+
171151
public function testPropertyStatus()
172152
{
173153
$this->AccountResult->setstatus(\FreeClimb\Api\Model\AccountStatus::CLOSED);
@@ -177,9 +157,7 @@ public function testPropertyStatus()
177157
$this->AccountResult->setstatus(\FreeClimb\Api\Model\AccountStatus::ACTIVE);
178158
$this->assertEquals(\FreeClimb\Api\Model\AccountStatus::ACTIVE, $this->AccountResult->getstatus());
179159
}
180-
/**
181-
* Test attribute "subresource_uris"
182-
*/
160+
183161
public function testPropertySubresourceUris()
184162
{
185163
$this->AccountResult->setsubresourceUris(new \stdClass());

test/Model/AddToConferenceNotificationWebhookTest.php

Lines changed: 13 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -73,59 +73,47 @@ public static function tearDownAfterClass(): void
7373
{
7474
}
7575

76-
/**
77-
* Test attribute "request_type"
78-
*/
76+
7977
public function testPropertyRequestType()
8078
{
8179

8280
$this->AddToConferenceNotificationWebhook->setRequestType('TS');
8381
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRequestType());
8482
$this->assertIsString($this->AddToConferenceNotificationWebhook->getRequestType());
8583
}
86-
/**
87-
* Test attribute "call_id"
88-
*/
84+
8985
public function testPropertyCallId()
9086
{
9187

9288
$this->AddToConferenceNotificationWebhook->setCallId('TS');
9389
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getCallId());
9490
$this->assertIsString($this->AddToConferenceNotificationWebhook->getCallId());
9591
}
96-
/**
97-
* Test attribute "account_id"
98-
*/
92+
9993
public function testPropertyAccountId()
10094
{
10195

10296
$this->AddToConferenceNotificationWebhook->setAccountId('TS');
10397
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getAccountId());
10498
$this->assertIsString($this->AddToConferenceNotificationWebhook->getAccountId());
10599
}
106-
/**
107-
* Test attribute "from"
108-
*/
100+
109101
public function testPropertyFrom()
110102
{
111103

112104
$this->AddToConferenceNotificationWebhook->setFrom('TS');
113105
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getFrom());
114106
$this->assertIsString($this->AddToConferenceNotificationWebhook->getFrom());
115107
}
116-
/**
117-
* Test attribute "to"
118-
*/
108+
119109
public function testPropertyTo()
120110
{
121111

122112
$this->AddToConferenceNotificationWebhook->setTo('TS');
123113
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getTo());
124114
$this->assertIsString($this->AddToConferenceNotificationWebhook->getTo());
125115
}
126-
/**
127-
* Test attribute "call_status"
128-
*/
116+
129117
public function testPropertyCallStatus()
130118
{
131119
$this->AddToConferenceNotificationWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED);
@@ -145,9 +133,7 @@ public function testPropertyCallStatus()
145133
$this->AddToConferenceNotificationWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER);
146134
$this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->AddToConferenceNotificationWebhook->getcallStatus());
147135
}
148-
/**
149-
* Test attribute "direction"
150-
*/
136+
151137
public function testPropertyDirection()
152138
{
153139
$this->AddToConferenceNotificationWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND);
@@ -157,29 +143,23 @@ public function testPropertyDirection()
157143
$this->AddToConferenceNotificationWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL);
158144
$this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->AddToConferenceNotificationWebhook->getdirection());
159145
}
160-
/**
161-
* Test attribute "conference_id"
162-
*/
146+
163147
public function testPropertyConferenceId()
164148
{
165149

166150
$this->AddToConferenceNotificationWebhook->setConferenceId('TS');
167151
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getConferenceId());
168152
$this->assertIsString($this->AddToConferenceNotificationWebhook->getConferenceId());
169153
}
170-
/**
171-
* Test attribute "queue_id"
172-
*/
154+
173155
public function testPropertyQueueId()
174156
{
175157

176158
$this->AddToConferenceNotificationWebhook->setQueueId('TS');
177159
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getQueueId());
178160
$this->assertIsString($this->AddToConferenceNotificationWebhook->getQueueId());
179161
}
180-
/**
181-
* Test attribute "status"
182-
*/
162+
183163
public function testPropertyStatus()
184164
{
185165
$this->AddToConferenceNotificationWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::EMPTY);
@@ -191,29 +171,23 @@ public function testPropertyStatus()
191171
$this->AddToConferenceNotificationWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED);
192172
$this->assertEquals(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED, $this->AddToConferenceNotificationWebhook->getstatus());
193173
}
194-
/**
195-
* Test attribute "recording_url"
196-
*/
174+
197175
public function testPropertyRecordingUrl()
198176
{
199177

200178
$this->AddToConferenceNotificationWebhook->setRecordingUrl('TS');
201179
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRecordingUrl());
202180
$this->assertIsString($this->AddToConferenceNotificationWebhook->getRecordingUrl());
203181
}
204-
/**
205-
* Test attribute "recording_id"
206-
*/
182+
207183
public function testPropertyRecordingId()
208184
{
209185

210186
$this->AddToConferenceNotificationWebhook->setRecordingId('TS');
211187
$this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRecordingId());
212188
$this->assertIsString($this->AddToConferenceNotificationWebhook->getRecordingId());
213189
}
214-
/**
215-
* Test attribute "recording_duration_sec"
216-
*/
190+
217191
public function testPropertyRecordingDurationSec()
218192
{
219193

test/Model/AddToConferenceTest.php

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -73,95 +73,75 @@ public static function tearDownAfterClass(): void
7373
{
7474
}
7575

76-
/**
77-
* Test attribute "allow_call_control"
78-
*/
76+
7977
public function testPropertyAllowCallControl()
8078
{
8179
$this->AddToConference->setallowCallControl(false);
8280
$this->assertFalse($this->AddToConference->getallowCallControl());
8381
$this->assertIsBool($this->AddToConference->getallowCallControl());
8482
}
85-
/**
86-
* Test attribute "call_control_sequence"
87-
*/
83+
8884
public function testPropertyCallControlSequence()
8985
{
9086

9187
$this->AddToConference->setCallControlSequence('TS');
9288
$this->assertEquals('TS', $this->AddToConference->getCallControlSequence());
9389
$this->assertIsString($this->AddToConference->getCallControlSequence());
9490
}
95-
/**
96-
* Test attribute "call_control_url"
97-
*/
91+
9892
public function testPropertyCallControlUrl()
9993
{
10094

10195
$this->AddToConference->setCallControlUrl('TS');
10296
$this->assertEquals('TS', $this->AddToConference->getCallControlUrl());
10397
$this->assertIsString($this->AddToConference->getCallControlUrl());
10498
}
105-
/**
106-
* Test attribute "conference_id"
107-
*/
99+
108100
public function testPropertyConferenceId()
109101
{
110102

111103
$this->AddToConference->setConferenceId('TS');
112104
$this->assertEquals('TS', $this->AddToConference->getConferenceId());
113105
$this->assertIsString($this->AddToConference->getConferenceId());
114106
}
115-
/**
116-
* Test attribute "leave_conference_url"
117-
*/
107+
118108
public function testPropertyLeaveConferenceUrl()
119109
{
120110

121111
$this->AddToConference->setLeaveConferenceUrl('TS');
122112
$this->assertEquals('TS', $this->AddToConference->getLeaveConferenceUrl());
123113
$this->assertIsString($this->AddToConference->getLeaveConferenceUrl());
124114
}
125-
/**
126-
* Test attribute "listen"
127-
*/
115+
128116
public function testPropertyListen()
129117
{
130118
$this->AddToConference->setlisten(false);
131119
$this->assertFalse($this->AddToConference->getlisten());
132120
$this->assertIsBool($this->AddToConference->getlisten());
133121
}
134-
/**
135-
* Test attribute "notification_url"
136-
*/
122+
137123
public function testPropertyNotificationUrl()
138124
{
139125

140126
$this->AddToConference->setNotificationUrl('TS');
141127
$this->assertEquals('TS', $this->AddToConference->getNotificationUrl());
142128
$this->assertIsString($this->AddToConference->getNotificationUrl());
143129
}
144-
/**
145-
* Test attribute "start_conf_on_enter"
146-
*/
130+
147131
public function testPropertyStartConfOnEnter()
148132
{
149133
$this->AddToConference->setstartConfOnEnter(false);
150134
$this->assertFalse($this->AddToConference->getstartConfOnEnter());
151135
$this->assertIsBool($this->AddToConference->getstartConfOnEnter());
152136
}
153-
/**
154-
* Test attribute "talk"
155-
*/
137+
156138
public function testPropertyTalk()
157139
{
158140
$this->AddToConference->settalk(false);
159141
$this->assertFalse($this->AddToConference->gettalk());
160142
$this->assertIsBool($this->AddToConference->gettalk());
161143
}
162-
/**
163-
* Test attribute "dtmf_pass_through"
164-
*/
144+
165145
public function testPropertyDtmfPassThrough()
166146
{
167147
$this->AddToConference->setdtmfPassThrough(false);

0 commit comments

Comments
 (0)