diff --git a/tests/lib/appframework/db/EntityTest.php b/tests/lib/appframework/db/EntityTest.php
index 346a74c732ca9d87a53f305c36802e39aa47f46f..f674f435e0999052dc82345f007ea0706b08afbb 100644
--- a/tests/lib/appframework/db/EntityTest.php
+++ b/tests/lib/appframework/db/EntityTest.php
@@ -31,10 +31,8 @@ namespace OCP\AppFramework\Db;
  * @method void setTestId(integer $id)
  * @method string getName()
  * @method void setName(string $name)
- * @method string getName()
- * @method void setEmail(string $email)
  * @method string getEmail()
- * @method void setEmailName(string $email)
+ * @method void setEmail(string $email)
  * @method string getPreName()
  * @method void setPreName(string $preName)
  */
diff --git a/tests/lib/appframework/db/MapperTest.php b/tests/lib/appframework/db/MapperTest.php
index 114081beb21d80cd577ff1ffa7ade0148bafafb1..e21edbd05cf863c13b2c9918777f7e27bbd6261a 100644
--- a/tests/lib/appframework/db/MapperTest.php
+++ b/tests/lib/appframework/db/MapperTest.php
@@ -29,7 +29,14 @@ use \OCP\IDb;
 
 require_once __DIR__ . '/MapperTestUtility.php';
 
-
+/**
+ * @method integer getId()
+ * @method void setId(integer $id)
+ * @method string getEmail()
+ * @method void setEmail(string $email)
+ * @method string getPreName()
+ * @method void setPreName(string $preName)
+ */
 class Example extends Entity {
 	public $preName;
 	public $email;