@Test( expected = TargetException.class )
public void testIpList_noMoreIpAvailable() throws Exception {

	Map<String,String> targetProperties = new HashMap<> ();
	targetProperties.put( IP_ADDRESSES, "192.168.1.1, 192.168.1.2" );
	EmbeddedHandler target = new EmbeddedHandler();
	target.karafData = this.folder.newFolder().getAbsolutePath();
	try {
		Assert.assertNotNull( target.createMachine( new TargetHandlerParameters()
			.applicationName( "app" )
			.domain( "domain" )
			.scopedInstancePath( "nothing1" )
			.targetProperties( targetProperties )));
		Assert.assertNotNull( target.createMachine( new TargetHandlerParameters()
				.applicationName( "app" )
				.domain( "domain" )
				.scopedInstancePath( "nothing2" )
				.targetProperties( targetProperties )));
	} catch( Exception e ) {
		Assert.fail( "No exception should have been thrown here." );
	}
	Assert.assertNotNull( target.createMachine( new TargetHandlerParameters()
			.applicationName( "app" )
			.domain( "domain" )
			.scopedInstancePath( "nothing3" )
			.targetProperties( targetProperties )));
}