37383940414243
private SnapshotWriter writer; @Override public void setUp() throws Exception { sw = new StringWriter(); writer = new SnapshotWriter(sw, null, "string"); }
118119120121122123124125126127128
throws IOException { throw new IOException(); } } writer = new SnapshotWriter(new FailingWriter(), null, "string"); MockDocumentSnapshot before = new MockDocumentSnapshot("0", "extra.0"); try { writeAndClose(writer, before); fail("write worked!?");