def METHOD_NAME(filepath):
    network = Network.from_obj(filepath)
    assert network.number_of_nodes() > 0
    assert network.number_of_edges() > 0
    assert len(list(network.nodes())) == network._max_node + 1
    assert network.is_connected()