@Test
public void testIllegalReadViewRequest() throws Exception {

	final PipelinedSubpartition subpartition = createSubpartition();
	// Successful request
	assertNotNull(subpartition.createReadView(null));
	try {
		subpartition.createReadView(null);
		fail("Did not throw expected exception after duplicate read view request.");
	}
	catch (IllegalStateException expected) {
	}
}