def METHOD_NAME(self, backend):
    revocation_date = datetime.datetime(2002, 1, 1, 12, 1)
    builder = (
        x509.RevokedCertificateBuilder()
        .serial_number(1)
        .revocation_date(revocation_date)
    )
    revoked_certificate = builder.build(backend)
    assert revoked_certificate.serial_number == 1