@Test
public void testValidRandomPort() throws Exception {

	File f = TestUtils.findTestFile( "/configurations/valid/component-with-random-ports.graph" );
	FromGraphDefinition fromDef = new FromGraphDefinition( f.getParentFile());
	Graphs g = fromDef.buildGraphs( f );
	Assert.assertEquals( 0, fromDef.getErrors().size());
	Collection<ModelError> errors = RuntimeModelValidator.validate( g );
	Assert.assertEquals( 0, errors.size());
}