Update CourseServiceUnitTest.java

This commit is contained in:
Loredana Crusoveanu 2019-04-21 11:08:09 +03:00 committed by GitHub
parent 320b48ccfe
commit 439dac4ca1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,8 +44,8 @@ public class CourseServiceUnitTest {
CourseEntity courseEntity = new CourseEntity();
CourseService.copyProperties(course, courseEntity);
assertNotNull(course.getName());
assertNotNull(courseEntity.getName());
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"));