|
1 | 1 | @IsTest |
2 | 2 | public with sharing class libak_TestRestProcessor { |
| 3 | + // Assertions are performed in the checkMethodNotAllowedResponse helper method |
| 4 | + @SuppressWarnings('PMD.ApexUnitTestClassShouldHaveAsserts') |
3 | 5 | @IsTest |
4 | 6 | static void testProcessGet(){ |
5 | 7 | checkMethodNotAllowedResponse('GET'); |
6 | 8 | } |
7 | 9 |
|
| 10 | + // Assertions are performed in the checkMethodNotAllowedResponse helper method |
| 11 | + @SuppressWarnings('PMD.ApexUnitTestClassShouldHaveAsserts') |
8 | 12 | @IsTest |
9 | 13 | static void testProcessPost(){ |
10 | 14 | checkMethodNotAllowedResponse('POST'); |
11 | 15 | } |
12 | 16 |
|
| 17 | + // Assertions are performed in the checkMethodNotAllowedResponse helper method |
| 18 | + @SuppressWarnings('PMD.ApexUnitTestClassShouldHaveAsserts') |
13 | 19 | @IsTest |
14 | 20 | static void testProcessPut(){ |
15 | 21 | checkMethodNotAllowedResponse('PUT'); |
16 | 22 | } |
17 | 23 |
|
| 24 | + // Assertions are performed in the checkMethodNotAllowedResponse helper method |
| 25 | + @SuppressWarnings('PMD.ApexUnitTestClassShouldHaveAsserts') |
18 | 26 | @IsTest |
19 | 27 | static void testProcessPatch(){ |
20 | 28 | checkMethodNotAllowedResponse('PATCH'); |
21 | 29 | } |
22 | 30 |
|
| 31 | + // Assertions are performed in the checkMethodNotAllowedResponse helper method |
| 32 | + @SuppressWarnings('PMD.ApexUnitTestClassShouldHaveAsserts') |
23 | 33 | @IsTest |
24 | 34 | static void testProcessDelete(){ |
25 | 35 | checkMethodNotAllowedResponse('DELETE'); |
26 | 36 | } |
27 | 37 |
|
| 38 | + // Assertions are performed in the checkMethodNotAllowedResponse helper method |
| 39 | + @SuppressWarnings('PMD.ApexUnitTestClassShouldHaveAsserts') |
28 | 40 | @IsTest |
29 | 41 | static void testProcessOther(){ |
30 | 42 | checkMethodNotAllowedResponse('OPTIONS'); |
|
0 commit comments