public void testWriteOpenSpatialFormatIterator() throws Exception {
final SpatialFormatIteratorAttributes attributes =
(SpatialFormatIteratorAttributes) ProtocolIntegrationTestHelper.
provideAttributes(SpatialFormatIteratorAttributes.class);
final VolantisProtocol protocol = getProtocol();
MethodInvoker invoker = new MethodInvoker() {
public void invoke() throws Exception {
protocol.writeOpenSpatialFormatIterator(attributes);
protocol.writeCloseSpatialFormatIterator(attributes);
}
};
String expecting = getExpectedWriteOpenSpatialFormatIteratorResult();
ProtocolIntegrationTestHelper.doTest(expectations, protocol, invoker, expecting);
}