def METHOD_NAME(self):
    p1 = self.st.add_padstack("Massimo", material="aluminum")
    p1.plating_ratio = 0.7
    try:
        p1.set_start_layer("non_existing_layer")
    except ValueError:
        assert True
    assert p1.set_start_layer("lay1")
    assert p1.set_stop_layer("top")
    p1.set_all_pad_value(1)
    p1.set_all_antipad_value(3)
    assert p1.padstacks_by_layer["top"].layer_name == "top"
    assert p1.padstacks_by_layer["top"].pad_radius == 1
    assert p1.padstacks_by_layer["top"].antipad_radius == 3
    p1.padstacks_by_layer["top"].pad_radius = 2
    p1.padstacks_by_layer["top"].antipad_radius = 2.5
    assert p1.padstacks_by_layer["top"].pad_radius == 2
    assert p1.padstacks_by_layer["top"].antipad_radius == 2.5
    p1.num_sides = 8
    assert p1.num_sides == 8
    via = p1.add_via(50, 50)
    assert via
    assert len(self.st.padstacks) == 1