7267dcde91e643969fe7685ce3aa31481d1354df
[portal.git] / ecomp-portal-BE-common-test / src / main / java / org / openecomp / portalapp / portal / transport / UserWithNameSurnameTitleTest.java
1 package org.openecomp.portalapp.portal.transport;
2
3 import static org.junit.Assert.*;
4
5 import org.junit.Test;
6 import org.openecomp.portalapp.portal.transport.UserWithNameSurnameTitle;
7
8 public class UserWithNameSurnameTitleTest {
9
10         @Test
11         public void userWithNameSurnameTitleTest(){
12                 
13                 UserWithNameSurnameTitle userWithNameSurnameTitle = new UserWithNameSurnameTitle("test", "test", "test", "test");
14                 
15                 assertEquals(userWithNameSurnameTitle, new UserWithNameSurnameTitle("test", "test", "test", "test"));
16                 assertEquals(userWithNameSurnameTitle.hashCode(), new UserWithNameSurnameTitle("test", "test", "test", "test").hashCode());
17                 assertTrue(userWithNameSurnameTitle.equals(new UserWithNameSurnameTitle("test", "test", "test", "test")));
18         }
19 }