class ELTComponentPropertyAdapter implements IPropertyAdapter {

	@Override
	public void transform() throws ELTComponentPropertyAdapter.EmptyComponentPropertiesException {
		validateRawProperties();
		for(hydrograph.ui.common.component.config.Property property : rawProperties){
			Property tempProperty = transformProperty(property);
			this.properties.add(tempProperty);
		} 
	}

}

class ELTComponentPropertyAdapterTest {

	@Test(expected = ELTComponentPropertyAdapter.EmptyComponentPropertiesException.class)
	public void itShouldThrowEmptyComponentPropertiesExceptionIfRawPropertiesAreEmptyWhileTransformation() {

		//Given
		
		//when
		
			ELTComponentPropertyAdapter eltComponentPropertyAdapter = new ELTComponentPropertyAdapter(null);
			eltComponentPropertyAdapter.transform();	
		
		
		//Then - expect EmptyComponentPropertiesException
	}

}