@Test(expected = ValveException.class)
public void consolidateObjectsToXMLFailTest() throws ValveException {

    // build well list
    ArrayList<AbstractWitsmlObject> witsmlObjects = new ArrayList<>();
    ObjWell well = new ObjWell();
    well.setName("well-1");
    well.setUid("well-1");
    witsmlObjects.add(well);
    String clientVersion = "InvalidVersion";
    String objectType = "well";
    DotTranslator.consolidateObjectsToXML(witsmlObjects, clientVersion, objectType);
}