def METHOD_NAME(input_data, expected):
    """Ensure that when given layer data that a tuple can be generated.
    When data with a name is supplied a layer should be created and named.
    When an empty dataset is supplied no layer is created and no errors are produced.
    """
    assert ensure_list_of_layer_data_tuple(input_data) == expected