@Test
public void shouldDeleteTrajectory() throws Exception {

	// build witsmlObjects lists
	ArrayList<AbstractWitsmlObject> trajs1311 = new ArrayList<>();
	ArrayList<AbstractWitsmlObject> trajs1411 = new ArrayList<>();
	ObjTrajectorys trajsObj1311 = new ObjTrajectorys();
	com.hashmapinc.tempus.WitsmlObjects.v1411.ObjTrajectorys trajsObj1411 = new com.hashmapinc.tempus.WitsmlObjects.v1411.ObjTrajectorys();
	// get traj 1311
	ObjTrajectory traj1311 = new ObjTrajectory();
	traj1311.setUid("traj-1311");
	trajs1311.add(traj1311);
	trajsObj1311.addTrajectory(traj1311);
	// get traj 1411
	com.hashmapinc.tempus.WitsmlObjects.v1411.ObjTrajectory traj1411 = new com.hashmapinc.tempus.WitsmlObjects.v1411.ObjTrajectory();
	traj1411.setUid("traj-1411");
	trajs1411.add(traj1411);
	trajsObj1411.addTrajectory(traj1411);
	// build query contexts
	QueryContext qc1311 = new QueryContext(
		"1.3.1.1",
		"trajectory",
		null,
		WitsmlMarshal.serialize(trajsObj1311),
		trajs1311,
		"goodUsername",
		"goodPassword",
		"shouldDeleteTrajectory-1311" // exchange ID
	);
	QueryContext qc1411 = new QueryContext(
		"1.4.1.1",
		"trajectory",
		null,
			WitsmlMarshal.serialize(trajsObj1411),
		trajs1411,
		"goodUsername",
		"goodPassword",
		"shouldDeleteTrajectory-1411" // exchange ID
	);
	// test deletes
	this.valve.deleteObject(qc1311);
	this.valve.deleteObject(qc1411);
	// verify
	verify(this.mockDelegator).deleteObject(traj1311, qc1311.USERNAME, qc1311.PASSWORD, qc1311.EXCHANGE_ID, this.mockClient);
	verify(this.mockDelegator).deleteObject(traj1411, qc1411.USERNAME, qc1411.PASSWORD, qc1411.EXCHANGE_ID, this.mockClient);
	verifyNoMoreInteractions(this.mockDelegator);
}