Bug 210496 Add hasStyle property in reportItemModel extension point
When chart gets reportItem's properties by extending ReportItem, style properties are null. Hence, model needs to add hasStyle property in reportItemModel extension point
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/ReportItemExtensionTest.java
.getErrorCode( ) );
			List errors = e.getErrorList( );
			assertEquals( 2, errors.size( ) );
			assertEquals( WrongTypeException.DESIGN_EXCEPTION_WRONG_TYPE,
					( (ErrorDetail) errors.get( 0 ) ).getErrorCode( ) );
			assertEquals( SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION,
					( (ErrorDetail) errors.get( 1 ) ).getErrorCode( ) );
		}
	}
	/**
	 * Tests the property search. TODO: test getFactoryProperty.
	 * 
	 * @throws Exception
	 */
	public void testGetProperty( ) throws Exception
	{
		openDesign( fileName_3 );
		ExtendedItemHandle extendedHandle = (ExtendedItemHandle) designHandle
				.findElement( "right extended item" ); 
		assertNotNull( extendedHandle );
		assertEquals( 1.2, extendedHandle.getX( ).getMeasure( ), 0.0 );
		assertEquals( 2.4, extendedHandle.getY( ).getMeasure( ), 0.0 );
		
		assertEquals( "parent value", extendedHandle.getProperty( "test1" ) ); 
		assertEquals( null, extendedHandle.getElement( ).getLocalProperty(
				design, "test1" ) ); 
		
		ExtendedItemHandle parent = (ExtendedItemHandle) designHandle
				.findElement( "parent" ); 
		assertEquals( parent, extendedHandle.getExtends( ) );