def METHOD_NAME(self):
    expected_message = (
        f"ABC is an invalid project type option value, the value should be one "
        f"of the following {[ptype.value for ptype in ProjectTypes]} "
    )
    context_map = {"project_type": "ABC"}
    context = SamCliContext(
        command_options_map=context_map,
        sam_command_name="",
        is_guided=False,
        is_debugging=False,
        profile={},
        region="",
    )
    iac_factory = IaCFactory(context)
    with self.assertRaises(InvalidProjectTypeException) as ctx:
        iac_factory.get_iac()
    self.assertEqual(str(ctx.exception), expected_message)