use of org.n52.io.IoStyleContext in project series-rest-api by 52North.
the class ChartRendererTest method shouldPrintDefaultOutputTimezoneInDomainAxisLabel.
@Test
public void shouldPrintDefaultOutputTimezoneInDomainAxisLabel() {
IoParameters config = IoParameters.createDefaults();
IoStyleContext context = IoStyleContext.create(config);
String label = new MyChartRenderer(context).getXYPlot().getDomainAxis().getLabel();
assertThat(label, is("Time (UTC)"));
}
Aggregations