Update CourseServiceUnitTest.java
junit method 'assertNotNull' added twice.
This commit is contained in:
parent
c5fbfa2329
commit
90bd26c8b1
|
@ -44,6 +44,8 @@ public class CourseServiceUnitTest {
|
|||
CourseEntity courseEntity = new CourseEntity();
|
||||
|
||||
CourseService.copyProperties(course, courseEntity);
|
||||
assertNotNull(course.getName());
|
||||
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