module HexaPDF:: TestUtils
Contains various helper methods for testing HexaPDF
Public Instance Methods
Asserts that the method name
of object
gets invoked with the expected_values
when executing the block. expected_values
should contain arrays of arguments, one array for each invocation of the method.
Asserts that the content string contains the operators.
Collects the result from the HexaPDF::Filter
source into a binary string.
Creates a fiber that yields the given string in len
length parts.