import com.att.research.xacml.util.XACMLProperties;
-import java.io.ByteArrayInputStream;
-import java.io.File;
-import java.io.FileInputStream;
import java.io.IOException;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.Map;
import java.util.Properties;
-import javax.servlet.ReadListener;
import javax.servlet.ServletConfig;
import javax.servlet.ServletInputStream;
import javax.servlet.ServletOutputStream;
}
@Test
- public void testConstructorIsPrivate()
- throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {
+ public void testConstructorIsPrivate() throws NoSuchMethodException, IllegalAccessException,
+ InvocationTargetException, InstantiationException {
Constructor<XacmlRestProperties> constructor = XacmlRestProperties.class.getDeclaredConstructor();
assertTrue(Modifier.isPrivate(constructor.getModifiers()));
constructor.setAccessible(true);
XacmlRest.dumpRequest(httpServletRequest);
Map<String, String[]> parameterMap = new LinkedHashMap<>();
- String[] mapValue0 = {"MapValue0"};
- String[] mapValue1 = {"MapValue0"};
- String[] mapValue2 = {};
+ String[] mapValue0 =
+ { "MapValue0" };
+ String[] mapValue1 =
+ { "MapValue0" };
+ String[] mapValue2 =
+ {};
parameterMap.put("Key0", mapValue0);
parameterMap.put("Key1", mapValue1);
parameterMap.put("Key2", mapValue2);