to increase code coverage
Issue-ID: APPC-1086
Change-Id: I4b0f1f352fa8b90810b7efc145e83edebff913da
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
+ * Modification Copyright (C) 2018 IBM.
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
defaultConfiguration.setProperty(booleanKey, "abc");
Assert.assertFalse(defaultConfiguration.getBooleanProperty(booleanKey));
}
defaultConfiguration.setProperty(booleanKey, "abc");
Assert.assertFalse(defaultConfiguration.getBooleanProperty(booleanKey));
}
+
+ @Test
+ public void testSetPropAndGetBooleanPropertyForEncryptedValue()
+ {
+ String booleanKey = "booleanKey";
+ defaultConfiguration.setProperty(booleanKey, "enc:true");
+ Assert.assertFalse(defaultConfiguration.getBooleanProperty(booleanKey));
+ }
+
+
@Test
public void testSetPropAndGetBooleanPropertyWithDefaultValue() throws Exception {
String booleanKey = "booleanKey";
@Test
public void testSetPropAndGetBooleanPropertyWithDefaultValue() throws Exception {
String booleanKey = "booleanKey";