def METHOD_NAME(self):
    with patch("click.echo") as mock_echo:
        printer = PrinterText()
        data = []
        printer.print_table(data)
        expected_output = "No Data."
        mock_echo.assert_called_once_with(expected_output)