@Test
public void testWrite() throws Exception {

    IAtomContainer molecule = TestMoleculeFactory.makeAlphaPinene();
    StringWriter writer = new StringWriter();
    GaussianInputWriter gaussianWriter = new GaussianInputWriter(writer);
    gaussianWriter.write(molecule);
    gaussianWriter.close();
    String output = writer.toString();
    Assert.assertNotSame(0, output.length());
}