assertEquals( StyledComponent.CHART_TITLE, 1 ); assertEquals( StyledComponent.CHART_BACKGROUND , 2 ); assertEquals( StyledComponent.PLOT_BACKGROUND, 3 ); assertEquals( StyledComponent.LEGEND_BACKGROUND, 4 ); assertEquals( StyledComponent.LEGEND_LABEL, 5 ); assertEquals( StyledComponent.AXIS_TITLE, 7 ); assertEquals( StyledComponent.AXIS_LABEL, 8 ); assertEquals( StyledComponent.AXIS_LINE, 9 ); assertEquals( StyledComponent.SERIES_TITLE, 10 ); assertEquals( StyledComponent.SERIES_LABEL, 11 );
assertEquals( StyledComponent.CHART_TITLE, StyledComponent.CHART_TITLE_LITERAL.getValue() ); assertEquals( StyledComponent.CHART_BACKGROUND , StyledComponent.CHART_BACKGROUND_LITERAL.getValue() ); assertEquals( StyledComponent.PLOT_BACKGROUND, StyledComponent.PLOT_BACKGROUND_LITERAL.getValue() ); assertEquals( StyledComponent.LEGEND_BACKGROUND, StyledComponent.LEGEND_BACKGROUND_LITERAL.getValue() ); assertEquals( StyledComponent.LEGEND_LABEL, StyledComponent.LEGEND_LABEL_LITERAL.getValue() ); assertEquals( StyledComponent.AXIS_TITLE, StyledComponent.AXIS_TITLE_LITERAL.getValue() ); assertEquals( StyledComponent.AXIS_LABEL, StyledComponent.AXIS_LABEL_LITERAL.getValue() ); assertEquals( StyledComponent.AXIS_LINE, StyledComponent.AXIS_LINE_LITERAL.getValue() ); assertEquals( StyledComponent.SERIES_TITLE, StyledComponent.SERIES_TITLE_LITERAL.getValue() ); assertEquals( StyledComponent.SERIES_LABEL, StyledComponent.SERIES_LABEL_LITERAL.getValue() );
	public void testConstant() 	{				assertEquals( StyledComponent.CHART_TITLE, 1 );		assertEquals( StyledComponent.CHART_BACKGROUND , 2 );		assertEquals( StyledComponent.PLOT_BACKGROUND, 3 );				assertEquals( StyledComponent.LEGEND_BACKGROUND, 4 );		assertEquals( StyledComponent.LEGEND_LABEL, 5 );		assertEquals( StyledComponent.AXIS_TITLE, 7 );		assertEquals( StyledComponent.AXIS_LABEL, 8 );		assertEquals( StyledComponent.AXIS_LINE, 9 );		assertEquals( StyledComponent.SERIES_TITLE, 10 );		assertEquals( StyledComponent.SERIES_LABEL, 11 );	}