1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/test/groovy/com/sap/piper/MapUtilsTest.groovy
Christopher Fenner 192d96d082 add MapUtils
2018-02-02 09:30:31 +01:00

14 lines
303 B
Groovy

package com.sap.piper
import org.junit.Assert
import org.junit.Test
class MapUtilsTest {
@Test
void testIsMap(){
Assert.assertTrue('Map is not recognized as Map', MapUtils.isMap([:]))
Assert.assertTrue('String is recognized as Map', !MapUtils.isMap('I am not a Map'))
}
}