def METHOD_NAME(self):
    with patch.object(DummyMetricReader, "collect") as mock_collect:
        DummyMetricReader().force_flush(timeout_millis=10)
        mock_collect.assert_called_with(timeout_millis=10)