@Test
public void validateConnectionParams_Valid() {

    HashMap<String, Object> connectParams = new HashMap<String, Object>();
    //CONNECTION_PEER ok
    connectParams.put(RCConnection.ParameterKeys.CONNECTION_PEER, "restcomm");
    connectParams.put(RCConnection.ParameterKeys.CONNECTION_VIDEO_ENABLED, true);
    connectParams.put(RCConnection.ParameterKeys.CONNECTION_VIDEO_ENABLED, true);
    connectParams.put(RCConnection.ParameterKeys.CONNECTION_LOCAL_VIDEO, new PercentFrameLayout(context));
    connectParams.put(RCConnection.ParameterKeys.CONNECTION_LOCAL_VIDEO, new PercentFrameLayout(context));
    connectParams.put(RCConnection.ParameterKeys.CONNECTION_REMOTE_VIDEO, new PercentFrameLayout(context));
    try {
        connectParams.put(RCConnection.ParameterKeys.CONNECTION_VIDEO_ENABLED, false);
        RCUtils.validateConnectionParms(connectParams);
    } catch (RCException ex) {
        fail(ex.toString());
    }
}