package models;
import static org.junit.Assert.*;

import java.util.Calendar;

import org.junit.Before;
import org.junit.Test;


public class PersonModelTest {
	private Calendar now = Calendar.getInstance();
	private int currentYear = now.get(Calendar.YEAR);
	private Person bart;
	private int bartAge;
	
	@Before
	public void setUp() throws Exception {
		bart = new Person(101,"Bart","Simpsons",1987,"Springfield","USA");
		bartAge = (currentYear - bart.getBirthYear());
	}

	@Test
	public void getAgeReturnItem() {
		assertEquals(bartAge, bart.getAge());
	}
	
	@Test
	public void toStringReturnItem() {
		assertEquals("firstName: Bart, lastName: Simpsons, age: "+bartAge, 
						bart.toString());
	}

}

@@ -502,32 +502,61 @@
 eReturnItem() %7B%0A
+%09%09int expectedAge = bartAge;%0A
 %09%09assertEquals(b
@@ -554,20 +554,24 @@
 tEquals(
-bart
+expected
 Age, bar
@@ -633,29 +633,42 @@
 m() %7B%0A%09%09
-assertEquals(
+String expectedToString = 
 %22firstNa
@@ -707,25 +707,54 @@
 e: %22
-+
+ + 
 bartAge
-,
+;
  %0A%09%09
-%09%09%09%09
+assertEquals(expectedToString, 
 bart

Add variables to express intent