package com.twu.biblioteca.entity;

/**
 * Created by zhihuizhang on 7/18/15.
 */
public class UserTest {
}

@@ -33,76 +33,505 @@
 y;%0A%0A
-/**%0A * Created by zhihuizhang on 7/18/15.%0A */%0Apublic class UserTest %7B
+import org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class UserTest %7B%0A    private User user;%0A%0A    @Before%0A    public void initUser() %7B%0A        user = new User();%0A    %7D%0A%0A    @Test%0A    public void canSetUserNameTest() %7B%0A        user.setName(%22zhzhang%22);%0A        assertEquals(%22zhzhang%22, user.getName());%0A    %7D%0A%0A    @Test%0A    public void canSetUserPasswordTest() %7B%0A        user.setPassword(%221111%22);%0A        assertEquals(%221111%22, user.getPassword());%0A    %7D
 %0A%7D%0A

add setter and getter test of User entity