def METHOD_NAME(self):
    given_function_name = "MyFunction"
    given_profile_name = "MyProfile"
    given_profile_owner = "MyProfileOwner"
    given_code_signing_config = {
        given_function_name: {"profile_name": given_profile_name, "profile_owner": given_profile_owner}
    }
    (profile_name, profile_owner) = extract_profile_name_and_owner_from_existing(
        given_function_name, given_code_signing_config
    )
    self.assertEqual(profile_name, given_profile_name)
    self.assertEqual(profile_owner, given_profile_owner)