blob: 673112c376b60201854f0196bf582609450e2f6e [file] [log] [blame]
package com.xtremelabs.robolectric.util;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import com.xtremelabs.robolectric.WithTestDefaultsRunner;
@RunWith(WithTestDefaultsRunner.class)
public class H2Map_TypeForwardOnlyTest {
H2Map_TypeForwardOnly map;
@Before
public void setUp() throws Exception {
map = new H2Map_TypeForwardOnly();
}
@Test
public void testGetH2ResultSetIs_TYPE_FORWARD_ONLY() throws SQLException {
assertThat(map.getResultSetType(),equalTo(ResultSet.TYPE_FORWARD_ONLY));
}
}