File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed
Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -214,6 +214,8 @@ public function testDateTimeElements()
214214
215215 /**
216216 * Test JSON serializing an element class.
217+ * @throws ExpectationFailedException
218+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
217219 */
218220 public function testJsonSerialize ()
219221 {
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ public function testTableCast()
141141
142142 /**
143143 * Test casting raw data with an element missing.
144+ * @throws InvalidArgumentException
144145 */
145146 public function testTableCastMissingElement ()
146147 {
Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ public function testUnknownConfigurationKeyForSet()
8989
9090 /**
9191 * Test get()ting an unset configuration key.
92+ * @throws ExpectationFailedException
93+ * @throws InvalidArgumentException
94+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
9295 */
9396 public function testGettingUnsetConfigurationKey ()
9497 {
Original file line number Diff line number Diff line change 22
33namespace tests \phpsap \classes \Config ;
44
5+ use phpsap \exceptions \IncompleteConfigException ;
56use phpsap \exceptions \InvalidArgumentException ;
7+ use phpsap \interfaces \exceptions \IInvalidArgumentException ;
68use PHPUnit \Framework \Exception ;
79use PHPUnit \Framework \ExpectationFailedException ;
810use PHPUnit \Framework \TestCase ;
@@ -43,6 +45,11 @@ public function testInheritance()
4345
4446 /**
4547 * Test set*() and get*() methods.
48+ * @throws ExpectationFailedException
49+ * @throws InvalidArgumentException
50+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
51+ * @throws IncompleteConfigException
52+ * @throws IInvalidArgumentException
4653 */
4754 public function testSetAndGet ()
4855 {
Original file line number Diff line number Diff line change 33namespace tests \phpsap \classes \Config ;
44
55use phpsap \classes \Util \JsonSerializable ;
6+ use phpsap \exceptions \IncompleteConfigException ;
67use phpsap \exceptions \InvalidArgumentException ;
78use phpsap \interfaces \Config \IConfigTypeB ;
89use phpsap \interfaces \Config \IConfiguration ;
910use phpsap \classes \Config \AbstractConfiguration ;
1011use phpsap \classes \Config \ConfigCommon ;
1112use phpsap \classes \Config \ConfigTypeB ;
13+ use phpsap \interfaces \exceptions \IInvalidArgumentException ;
1214use PHPUnit \Framework \Exception ;
1315use PHPUnit \Framework \ExpectationFailedException ;
1416use PHPUnit \Framework \TestCase ;
@@ -43,6 +45,11 @@ public function testInheritance()
4345
4446 /**
4547 * Test set*() and get*() methods.
48+ * @throws ExpectationFailedException
49+ * @throws InvalidArgumentException
50+ * @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
51+ * @throws IncompleteConfigException
52+ * @throws IInvalidArgumentException
4653 */
4754 public function testSetAndGet ()
4855 {
You can’t perform that action at this time.
0 commit comments