assertNotNull( styleHandle.getElement( ).cachedDefn );
assertNotNull( CoreTestUtil.getCachedElementDefn( styleHandle .getElement( ) ) );
	public void testStyleAfterClone( ) throws Exception	{		openDesign( "DesignElementCloneTest.xml" ); //$NON-NLS-1$		// Copy style and check clients		SharedStyleHandle styleHandle = designHandle.findStyle( "My Style" ); //$NON-NLS-1$		assertNotNull( styleHandle );		assertNotNull( styleHandle.getElement( ).cachedDefn );		List client = ( (Style) styleHandle.getElement( ) ).getClientList( );		assertEquals( 3, client.size( ) );		Style style = (Style) styleHandle.copy( );		assertNotNull( style );		// assertNull( style.cachedDefn );		assertEquals( 0, style.getClientList( ).size( ) );		// Copy styled element and check style		LabelHandle labelHandle = (LabelHandle) designHandle				.findElement( "Base Label" ); //$NON-NLS-1$		assertNotNull( labelHandle );		assertNotNull( labelHandle.getStyle( ) );		Label page = (Label) labelHandle.copy( );		designHandle.rename( page.getHandle( design ) );		labelHandle = (LabelHandle) page.getHandle( design );		designHandle.getBody( ).paste( labelHandle );		// resolved style reference		assertEquals( styleHandle, labelHandle.getStyle( ) );		assertEquals( "My Style", page.getStyleName( ) ); //$NON-NLS-1$	}