assertEquals( url.toString( ), design.getFileName( ) );
assertEquals( null, design.getFileName( ) );
	public void testCreateDesignFromTemplate( ) throws DesignFileException	{		DesignSession session = new DesignSession( null );		URL url = getResource( "input/CreateDesignFromTemplateTest.xml" ); //$NON-NLS-1$		design = session.createDesignFromTemplate( url.toString( ) );		Label label = (Label) design.findElement( "Label1" ); //$NON-NLS-1$		assertNotNull( label );		assertEquals( "Test", label.getProperty( design.getRoot( ), "text" ) ); //$NON-NLS-1$ //$NON-NLS-2$		assertEquals( url.toString( ), design.getFileName( ) );		TextItem text = (TextItem) design.findElement( "NewText" ); //$NON-NLS-1$ 		assertEquals( "blue", text.getProperty( design.getRoot( ), "color" ) ); //$NON-NLS-1$ //$NON-NLS-2$ 		assertEquals(				"\"Arial\"", text.getProperty( design.getRoot( ), "fontFamily" ) ); //$NON-NLS-1$ //$NON-NLS-2$ 		assertEquals(				"white", text.getProperty( design.getRoot( ), "backgroundColor" ) ); //$NON-NLS-1$ //$NON-NLS-2$ 		assertEquals(				"hello world", text.getProperty( design.getRoot( ), "content" ) ); //$NON-NLS-1$ //$NON-NLS-2$ 		List libs = design.getLibraries( );		assertEquals( 1, libs.size( ) );		Library lib = (Library) libs.get( 0 );		assertEquals(				"LibraryForCreateDesignFromTemplateTest", lib.getNamespace( ) );//$NON-NLS-1$	}