Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-13598

This commit is contained in:
amit2103 2019-04-21 20:53:29 +05:30
commit 08f9fe4bf9
1 changed files with 2 additions and 0 deletions

View File

@ -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"));