@SuppressWarnings("serial")
@Test(expected = URISignatureHandler.URISignatureParsingException.class)
public void generateCompleteURI_duplicatePlaceholderURIGeneration_FailureExpected() {

	String uriSignature = "http://sysmo-db.org/sops/{sop_id}/experimental_conditions/{cond_id}?condition_unit={sop_id}";
	Map<String, String> parameters = new HashMap<String, String>() {
		{
			put("sop_id", "111");
			put("unit", "33");
			put("cond_id", "2222");
		}
	};
	String completeURI = URISignatureHandler.generateCompleteURI(
			uriSignature, parameters, true);
	assertEquals(
			"http://sysmo-db.org/sops/111/experimental_conditions/2222?condition_unit=33",
			completeURI);
}