def METHOD_NAME(self):
    efs_client = mock.MagicMock
    efs_arn = f"arn:aws:elasticfilesystem:{AWS_REGION}:{AWS_ACCOUNT_NUMBER}:file-system/{file_system_id}"
    efs_client.filesystems = [
        FileSystem(
            id=file_system_id,
            arn=efs_arn,
            region=AWS_REGION,
            policy=filesystem_policy,
            backup_policy=None,
            encrypted=True,
        )
    ]
    with mock.patch(
        "prowler.providers.aws.services.efs.efs_service.EFS",
        efs_client,
    ):
        from prowler.providers.aws.services.efs.efs_not_publicly_accessible.efs_not_publicly_accessible import (
            efs_not_publicly_accessible,
        )
        check = efs_not_publicly_accessible()
        result = check.execute()
        assert len(result) == 1
        assert result[0].status == "PASS"
        assert search(
            "has a policy which does not allow access to everyone",
            result[0].status_extended,
        )
        assert result[0].resource_id == file_system_id
        assert result[0].resource_arn == efs_arn