use deboa_tests::utils::CA_CERT;

use crate::cert::{Certificate, ContentEncoding};

#[test]
fn test_cert_init() {
    let cert = Certificate::from_slice(CA_CERT, ContentEncoding::DER);
    assert_eq!(cert.as_bytes(), CA_CERT);
}
