@Test
public void testPropertySubstitution() throws Exception {
System.setProperty("property.messages.per.poll", "50");
SwitchYardModel switchyard = _puller.pull(THROTTLING_XML2, getClass());
switchyard.assertModelValid();
ExtensionsModel extensions = switchyard.getComposite().getServices().get(0).getExtensions();
ThrottlingModel throttling = extensions.getThrottling();
Assert.assertEquals(MAX_REQUESTS, (Integer) throttling.getMaxRequests());
Assert.assertEquals(TIME_PERIOD, throttling.getTimePeriod());
}