use of org.apache.beam.sdk.io.gcp.spanner.SpannerIO.Write in project beam by apache.
the class SpannerIOWriteTest method emptyTransform.
@Test
public void emptyTransform() throws Exception {
SpannerIO.Write write = SpannerIO.write();
thrown.expect(NullPointerException.class);
thrown.expectMessage("requires instance id to be set with");
write.expand(null);
}
Aggregations