public void testShouldReturnAllDataIfLimitIsBiggerThanDataAmount() throws Exception { RobotGraph notlimitedResultsGraph = RobotGraphHelper.createTestResultsGraphForTestObject( mockResult2, false, false, false, false, false, 10); assertEquals(2, notlimitedResultsGraph.getDataset().getColumnCount()); }
public void testShouldLimitGraphDataSet() throws Exception { RobotGraph limitedResultsGraph = RobotGraphHelper.createTestResultsGraphForTestObject( mockResult2, false, false, false, false, false, 1); assertEquals(1, limitedResultsGraph.getDataset().getColumnCount()); }