Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-13598
This commit is contained in:
commit
08f9fe4bf9
|
@ -44,6 +44,8 @@ public class CourseServiceUnitTest {
|
|||
CourseEntity courseEntity = new CourseEntity();
|
||||
|
||||
CourseService.copyProperties(course, courseEntity);
|
||||
Assert.assertNotNull(course.getName());
|
||||
Assert.assertNotNull(courseEntity.getName());
|
||||
Assert.assertEquals(course.getName(), courseEntity.getName());
|
||||
Assert.assertEquals(course.getCodes(), courseEntity.getCodes());
|
||||
Assert.assertNull(courseEntity.getStudent("ST-1"));
|
||||
|
|
Loading…
Reference in New Issue