@Test
public void testNewJRDataSource() throws JRException {

	// Arrange
	final DataRow dataRow = new DataRow("col1", "col2");
	@SuppressWarnings({ "rawtypes", "unchecked" })
	final Supplier dataProvider = () -> {
		final List l = new ArrayList();
		l.add(dataRow);
		return l;
	};
	// Act
	@SuppressWarnings("unchecked")
	final JRDataSource newJRDataSource = JRDataSourceFactory
	.newJRDataSource(dataProvider);
	// Assert
	assertNotNull(newJRDataSource);
	assertTrue(newJRDataSource.next());
}