def METHOD_NAME(self):
    ec2_client = client("ec2", region_name=AWS_REGION)
    vpc = ec2_client.create_vpc(
        CidrBlock="172.28.7.0/24", InstanceTenancy="default"
    )
    subnet_private = ec2_client.create_subnet(
        VpcId=vpc["Vpc"]["VpcId"],
        CidrBlock="172.28.7.192/26",
        AvailabilityZone=f"{AWS_REGION}a",
    )
    ec2_client.modify_subnet_attribute(
        SubnetId=subnet_private["Subnet"]["SubnetId"],
        MapPublicIpOnLaunch={"Value": True},
    )
    from prowler.providers.aws.services.vpc.vpc_service import VPC
    current_audit_info = self.set_mocked_audit_info()
    with mock.patch(
        "prowler.providers.aws.lib.audit_info.audit_info.current_audit_info",
        new=current_audit_info,
    ):
        with mock.patch(
            "prowler.providers.aws.services.vpc.vpc_subnet_no_public_ip_by_default.vpc_subnet_no_public_ip_by_default.vpc_client",
            new=VPC(current_audit_info),
        ):
            from prowler.providers.aws.services.vpc.vpc_subnet_no_public_ip_by_default.vpc_subnet_no_public_ip_by_default import (
                vpc_subnet_no_public_ip_by_default,
            )
            check = vpc_subnet_no_public_ip_by_default()
            results = check.execute()
            for result in results:
                if result.resource_id == subnet_private["Subnet"]["SubnetId"]:
                    assert result.status == "FAIL"
                    assert (
                        result.status_extended
                        == f"VPC subnet {subnet_private['Subnet']['SubnetId']} assigns public IP by default."
                    )