def METHOD_NAME(malware):
    with pytest.raises(stix2.exceptions.ImmutableError) as excinfo:
        malware.name = "Cryptolocker II"
    assert str(excinfo.value) == "Cannot modify 'name' property in 'Malware' after creation."