@@ -0,0 +1,617 @@
+/**%0A * %0A */%0Apackage com.consoleconnect.mw.sonarqube.sample.test;%0A%0Aimport java.util.UUID;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport com.consoleconnect.mw.sonarqube.sample.entity.User;%0A%0A/**%0A * @author dxiong%0A *%0A */%0A%0Apublic class UserTest %7B%0A%0A%09private static final String ID = UUID.randomUUID().toString();%0A%09private static User USER = new User(ID);%0A%0A%09@Test%0A%09public void testId() %7B%0A%09%09Assert.assertTrue(USER.getId().equals(ID));%0A%09%7D%0A%0A%09@Test%0A%09public void testEmail() %7B%0A%09%09Assert.assertNull(USER.getEmail());%0A%09%09USER.setEmail(%22test@email.com%22);%0A%09%09Assert.assertTrue(USER.getEmail().equals(%22test@email.com%22));%0A%09%7D%0A%7D%0A

add test case for user object