22
33namespace Tests ;
44
5+ use ByJG \AnyDataset \Core \Exception \DatabaseException ;
56use ByJG \AnyDataset \Db \Factory ;
6- use ByJG \AnyDataset \Exception \DatabaseException ;
7- use ByJG \AnyDataset \Exception \NotFoundException ;
8- use ByJG \AnyDataset \Exception \NotImplementedException ;
97use ByJG \Authenticate \Definition \UserDefinition ;
108use ByJG \Authenticate \Definition \UserPropertiesDefinition ;
119use ByJG \Authenticate \Exception \UserExistsException ;
1210use ByJG \Authenticate \Model \UserModel ;
1311use ByJG \Authenticate \UsersDBDataset ;
14- use ByJG \MicroOrm \Exception \InvalidArgumentException ;
1512use ByJG \MicroOrm \Exception \OrmBeforeInvalidException ;
1613use ByJG \MicroOrm \Exception \OrmInvalidFieldsException ;
1714use ByJG \MicroOrm \Exception \OrmModelInvalidException ;
18- use ByJG \Util \Exception \XmlUtilException ;
1915use Exception ;
16+ use ReflectionException ;
2017
2118class MyUserModel extends UserModel
2219{
@@ -45,13 +42,11 @@ class UsersDBDatasetDefinitionTest extends UsersDBDatasetByUsernameTest
4542
4643 /**
4744 * @param $loginField
48- * @throws UserExistsException
49- * @throws \ByJG\AnyDataset\Core\Exception\DatabaseException
50- * @throws InvalidArgumentException
5145 * @throws OrmBeforeInvalidException
5246 * @throws OrmInvalidFieldsException
5347 * @throws OrmModelInvalidException
54- * @throws \ByJG\Serializer\Exception\InvalidArgumentException
48+ * @throws UserExistsException
49+ * @throws ReflectionException
5550 */
5651 public function __setUp ($ loginField )
5752 {
@@ -112,13 +107,11 @@ public function __setUp($loginField)
112107 }
113108
114109 /**
115- * @throws InvalidArgumentException
116110 * @throws OrmBeforeInvalidException
117111 * @throws OrmInvalidFieldsException
118112 * @throws OrmModelInvalidException
113+ * @throws ReflectionException
119114 * @throws UserExistsException
120- * @throws \ByJG\AnyDataset\Core\Exception\DatabaseException
121- * @throws \ByJG\Serializer\Exception\InvalidArgumentException
122115 */
123116 public function setUp (): void
124117 {
@@ -127,7 +120,7 @@ public function setUp(): void
127120
128121 /**
129122 * @throws UserExistsException
130- * @throws \ByJG\AnyDataset\Core\Exception\ DatabaseException
123+ * @throws DatabaseException
131124 * @throws \ByJG\Serializer\Exception\InvalidArgumentException
132125 */
133126 public function testAddUser ()
0 commit comments