1package com.xtremelabs.robolectric.util;
2
3import static org.hamcrest.CoreMatchers.equalTo;
4import static org.junit.Assert.assertThat;
5
6import java.sql.ResultSet;
7import java.sql.SQLException;
8
9import org.junit.Before;
10import org.junit.Test;
11import org.junit.runner.RunWith;
12
13import com.xtremelabs.robolectric.WithTestDefaultsRunner;
14
15@RunWith(WithTestDefaultsRunner.class)
16public class H2Map_TypeForwardOnlyTest {
17
18	H2Map_TypeForwardOnly map;
19	@Before
20    public void setUp() throws Exception {
21      map = new H2Map_TypeForwardOnly();
22    }
23
24
25
26    @Test
27    public void testGetH2ResultSetIs_TYPE_FORWARD_ONLY() throws SQLException {
28    	assertThat(map.getResultSetType(),equalTo(ResultSet.TYPE_FORWARD_ONLY));
29    }
30}
31