private static DecoratedObjectWriter CreateWriter() { return new DecoratedObjectWriter(new MemoryStream()); }