Improved the DeployTemplate unit tests 60/93160/4
authork.kedron <k.kedron@partner.samsung.com>
Fri, 9 Aug 2019 08:21:45 +0000 (10:21 +0200)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Wed, 14 Aug 2019 13:08:28 +0000 (13:08 +0000)
commit643fd67cf618f518b702322fba9ae0e37a7878ba
tree6dd10cc2dafe625633e48f7be25f389db1eabb44
parente90694f0893731f6b2b949c8f0b0d190f1de2c2f
Improved the DeployTemplate unit tests

Improved test and refactor the class:
- checkstyle
- correct proper log message
- remove code duplication
- remove useless variable checkedoutVfcmt
- used string join instead stream collect

Issue-ID: SDC-2327
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: Iea65f8ef0317688ac1eb506f894a8eb3c3d3ce13
dcaedt_tools/src/main/java/tools/DeployTemplate.java
dcaedt_tools/src/main/java/utilities/DcaeRestClient.java
dcaedt_tools/src/test/java/DeployTemplateTest.java