Update CourseServiceUnitTest.java
This commit is contained in:
parent
90bd26c8b1
commit
320b48ccfe
|
@ -45,7 +45,7 @@ public class CourseServiceUnitTest {
|
||||||
|
|
||||||
CourseService.copyProperties(course, courseEntity);
|
CourseService.copyProperties(course, courseEntity);
|
||||||
assertNotNull(course.getName());
|
assertNotNull(course.getName());
|
||||||
assertNotNull(courseEntity.getName());
|
assertNotNull(courseEntity.getName());
|
||||||
Assert.assertEquals(course.getName(), courseEntity.getName());
|
Assert.assertEquals(course.getName(), courseEntity.getName());
|
||||||
Assert.assertEquals(course.getCodes(), courseEntity.getCodes());
|
Assert.assertEquals(course.getCodes(), courseEntity.getCodes());
|
||||||
Assert.assertNull(courseEntity.getStudent("ST-1"));
|
Assert.assertNull(courseEntity.getStudent("ST-1"));
|
||||||
|
|
Loading…
Reference in New Issue