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

    Writer result = fixture.endWithin();

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

    Writer result = fixture.endWithin();

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