@Test
public void closeDelegates() throws IOException {

    // given
    OutputStream os1 = mock(OutputStream.class);
    OutputStreamDelegate outputStreamDelegate = new OutputStreamDelegate(os1);
    // when
    outputStreamDelegate.close();
    // then
    verify(os1).close();
}