|
|
@ -12,6 +12,8 @@ import cokr.xit.interfaces.disabledparking.service.bean.DisabledParkingBean;
|
|
|
|
import cokr.xit.interfaces.disabledparking.service.bean.GPKI;
|
|
|
|
import cokr.xit.interfaces.disabledparking.service.bean.GPKI;
|
|
|
|
|
|
|
|
|
|
|
|
public class DisabledParkingServiceTest extends TestSupport {
|
|
|
|
public class DisabledParkingServiceTest extends TestSupport {
|
|
|
|
|
|
|
|
@Resource(name = "disabledParkingBean")
|
|
|
|
|
|
|
|
private DisabledParkingBean bean;
|
|
|
|
@Resource(name = "disabledParkingService")
|
|
|
|
@Resource(name = "disabledParkingService")
|
|
|
|
private DisabledParkingService service;
|
|
|
|
private DisabledParkingService service;
|
|
|
|
|
|
|
|
|
|
|
@ -50,7 +52,7 @@ public class DisabledParkingServiceTest extends TestSupport {
|
|
|
|
"56저2472", "Y"
|
|
|
|
"56저2472", "Y"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
.forEach((k, v) -> {
|
|
|
|
.forEach((k, v) -> {
|
|
|
|
Map<String, Object> result = service.getParkingInfo(k);
|
|
|
|
Map<String, Object> result = bean.getParkingInfo(k);
|
|
|
|
Assertions.assertEquals(v, result.get("PARKING_PSBL_YN"));
|
|
|
|
Assertions.assertEquals(v, result.get("PARKING_PSBL_YN"));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|