// compare written bytes to output stream with the content from specified css.
final InputStream expectedInputStream = new UnclosableBufferedInputStream(
WroTestUtils.getInputStream(expectedResourceUri));
final InputStream actualInputStream = new BufferedInputStream(new ByteArrayInputStream(out.toByteArray()));
expectedInputStream.reset();
WroTestUtils.compare(expectedInputStream, actualInputStream);
expectedInputStream.close();
actualInputStream.close();
}