	@Test
	public void testGetOperationName() {

		TMessage m=new TMessage();
		m.setName("BuyRequest");
		
		String opName=BPMN2ServiceUtil.getOperationName(m);
		
		if (opName == null) {
			fail("No op name");
		}
		
		if (!opName.equals("buy")) {
			fail("Expecting 'buy', but got: "+opName);
		}
	}