package ru.matevosyan;

import org.junit.Test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.core.Is.is;


/**
 * Was created to test User class.
 * Created on 07.05.2017.
 * @author Matevosyan Vardan
 * @version 1.0
 */

public class UserTest {
    @Test
    public void whenCreateTwoSameObjectThanCheckTheResultOfComparing() {
        User first = new User("first", 3, );
        User second = new User("second", 2, );

        assertThat(first.equals(second), is(false));
    }
}
@@ -41,16 +41,80 @@
 .Test;%0A%0A
+import java.util.Calendar;%0Aimport java.util.GregorianCalendar;%0A%0A
 import s
@@ -421,16 +421,84 @@
 ing() %7B%0A
+        Calendar c = new GregorianCalendar(2017, Calendar.JUNE, 8);%0A
         
@@ -531,16 +531,17 @@
 st%22, 3, 
+c
 );%0A     
@@ -571,20 +571,20 @@
 er(%22
-second%22, 2
+first%22, 3
 , 
+c
 );%0A%0A
@@ -631,12 +631,11 @@
  is(
-fals
+tru
 e));

change UserTest