def METHOD_NAME(self, cfngin_context: CfnginContext) -> None:
    """Test bucket_encryption."""
    obj = CfnginBucket("test", cfngin_context)
    assert isinstance(obj.bucket_encryption, s3.BucketEncryption)
    assert len(obj.bucket_encryption.ServerSideEncryptionConfiguration) == 1
    assert (
        obj.bucket_encryption.ServerSideEncryptionConfiguration[
            0
        ].ServerSideEncryptionByDefault.SSEAlgorithm
        == "AES256"
    )