    @Test
    public void testGetAppendOnlyStreamWriter() throws Exception {

        AppendOnlyStreamWriter writer = mock(AppendOnlyStreamWriter.class);
        when(impl.getAppendOnlyStreamWriter()).thenReturn(writer);
        assertEquals(writer, manager.getAppendOnlyStreamWriter());
        verify(impl, times(1)).getAppendOnlyStreamWriter();
    }