Membrane.Testing.Assertions.assert_sink_event
You're seeing just the macro
assert_sink_event
, go back to Membrane.Testing.Assertions module for more information.
Link to this macro
assert_sink_event(pipeline, sink_name, event, timeout \\ 2000)
View Source (macro)Asserts that Membrane.Testing.Sink
with name sink_name
received or will
receive an event within the timeout
period specified in milliseconds.
When a Membrane.Testing.Sink
is part of Membrane.Testing.Pipeline
you can
assert whether it received an event matching a provided pattern.
assert_sink_event(pid, :the_sink, %Discontinuity{})