def METHOD_NAME():
    now = dt.datetime(2016, 5, 12, 8, 17, 27, tzinfo=pytz.utc)
    mal = stix2.v20.Malware(
        type="malware",
        id=MALWARE_ID,
        created=now,
        modified=now,
        labels=["ransomware"],
        name="Cryptolocker",
        external_references=[],
    )
    assert mal.serialize(pretty=True) == EXPECTED_MALWARE