Improved code covage (branches) around cm handle state changes 06/135206/1
authorToineSiebelink <toine.siebelink@est.tech>
Wed, 28 Jun 2023 11:09:29 +0000 (12:09 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Wed, 28 Jun 2023 11:09:29 +0000 (12:09 +0100)
commitff6e1f12c4736aa6187e4fd2272339512a2e89c2
tree4f0484a394f559747cf33312abc1472aa463dfcf
parent07c3935d0eeeacede85e06728c88ae940f9062de
Improved code covage (branches) around cm handle state changes

- added test
- removed redundant (unreachable) check in production code

Issue-ID: CPS-475
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ia39ac7a1473a248710c2a52f65715fb6b6a85fca
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/events/lcm/LcmEventsCmHandleStateHandlerImpl.java
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/events/lcm/LcmEventsCmHandleStateHandlerImplSpec.groovy