@Test
public void testCreate_WithNullSources() {

    final MultiLevelSource lonSource = new TestMultiLevelSource(10, 10);
    final MultiLevelSource latSource = new TestMultiLevelSource(10, 10);
    final LonLatFunction function = new TestLonLatFunction();
    try {
        LonLatMultiLevelSource.create(null, latSource, function, DataBuffer.TYPE_DOUBLE);
        fail();
    } catch (IllegalArgumentException ignored) {
    }
    try {
        LonLatMultiLevelSource.create(lonSource, null, function, DataBuffer.TYPE_DOUBLE);
        fail();
    } catch (IllegalArgumentException ignored) {
    }
}