diff --git a/src/test/java/com/dispose/test/service/DisposeDeviceManagerServiceTest.java b/src/test/java/com/dispose/test/service/DisposeDeviceManagerServiceTest.java index f9e523e3..91678024 100644 --- a/src/test/java/com/dispose/test/service/DisposeDeviceManagerServiceTest.java +++ b/src/test/java/com/dispose/test/service/DisposeDeviceManagerServiceTest.java @@ -183,7 +183,7 @@ public class DisposeDeviceManagerServiceTest extends InitTestEnvironment { } /** - * A 4 get all dispose device test. + * A 4 get page dispose device test. */ @Test public void a4_getPageDisposeDeviceTest() { @@ -223,4 +223,14 @@ public class DisposeDeviceManagerServiceTest extends InitTestEnvironment { } } } + /** + * A 5 get all dispose device test. + */ + @Test + public void a5_getAllDisposeDeviceTest() { + List disposeDevices = disposeDeviceManagerService.getAllDisposeDevice(); + if(disposeDevices !=null){ + disposeDevices.forEach(v-> Assert.assertEquals(v.getStatus(),ObjectStatus.NORMAL)); + } + } }