@Test
public void testValidStream() {

    InputStream stream = mock(InputStream.class);
    PdfStreamSource instance = PdfStreamSource.newInstanceWithPassword(stream, "dsadsada", "dsdasdsa");
    assertNotNull(instance);
}