/**
   * Run the Writer element(String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 2:47 PM
   */
  @Test(expected = net.sf.xisemele.exception.RootDuplicateException.class)
  public void testElement_3() throws Exception {
    WriterImpl fixture =
        new WriterImpl(
            new WriterEditorImpl(
                new FactoryImpl(new FormatterProviderImpl()),
                new FormatterProviderImpl(),
                (Document) null));
    String name = "";

    Writer result = fixture.element(name);

    // add additional test code here
    assertNotNull(result);
  }
  /**
   * Run the Writer element(String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 2:47 PM
   */
  @Test
  public void testElement_1() throws Exception {
    WriterImpl fixture =
        new WriterImpl(
            new WriterEditorImpl(
                new FactoryImpl(new FormatterProviderImpl()),
                new FormatterProviderImpl(),
                (Document) null));
    String name = "";

    Writer result = fixture.element(name);

    // add additional test code here
    assertNotNull(result);
  }
  /**
   * Run the Writer element(String,Object) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 2:47 PM
   */
  @Test(expected = net.sf.xisemele.exception.ValueNotPermittedException.class)
  public void testElement_9() throws Exception {
    WriterImpl fixture =
        new WriterImpl(
            new WriterEditorImpl(
                new FactoryImpl(new FormatterProviderImpl()),
                new FormatterProviderImpl(),
                (Document) null));
    String name = "";
    Object value = new Object();

    Writer result = fixture.element(name, value);

    // add additional test code here
    assertNotNull(result);
  }
  /**
   * Run the Writer element(Element) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 2:47 PM
   */
  @Test
  public void testElement_4() throws Exception {
    WriterImpl fixture =
        new WriterImpl(
            new WriterEditorImpl(
                new FactoryImpl(new FormatterProviderImpl()),
                new FormatterProviderImpl(),
                (Document) null));
    Element element =
        new ElementImpl(new FactoryImpl(new FormatterProviderImpl()), new IIOMetadataNode());

    Writer result = fixture.element(element);

    // add additional test code here
    assertNotNull(result);
  }
  /**
   * Run the Writer element(String,Date,String) method test.
   *
   * @throws Exception
   * @generatedBy CodePro at 4/19/14 2:47 PM
   */
  @Test(expected = net.sf.xisemele.exception.InvalidNameException.class)
  public void testElement_11() throws Exception {
    WriterImpl fixture =
        new WriterImpl(
            new WriterEditorImpl(
                new FactoryImpl(new FormatterProviderImpl()),
                new FormatterProviderImpl(),
                (Document) null));
    String name = "";
    Date date = new Date();
    String pattern = "";

    Writer result = fixture.element(name, date, pattern);

    // add additional test code here
    assertNotNull(result);
  }