mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
[TEST] Added missing assertEqual for getFirstName
This commit is contained in:
parent
d2637471be
commit
aa595b12ba
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ public class PersonTest {
|
||||||
@Test
|
@Test
|
||||||
public void testSetAndGetFirstName() {
|
public void testSetAndGetFirstName() {
|
||||||
personObj.setFirstName("Johnny");
|
personObj.setFirstName("Johnny");
|
||||||
|
assertEquals("Johnny", personObj.getFirstName());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Testing the DAO of Person class by verifying the setter and getter of FirstName
|
// Testing the DAO of Person class by verifying the setter and getter of FirstName
|
||||||
|
|
Loading…
Reference in a new issue