def METHOD_NAME(self):
    for source_file_info, source_content_type in [
        (None, None),
        ({
            'a': 'b'
        }, None),
        (None, 'text/plain'),
    ]:
        with self.subTest(
            source_file_info=source_file_info, source_content_type=source_content_type
        ):
            with self.assertRaises(
                SSECKeyIdMismatchInCopy,
                'attempting to copy file using MetadataDirectiveMode.COPY without providing source_file_info '
                'and source_content_type for differing sse_c_key_ids: source="some-id-2", destination="some-id"'
            ):
                CopyManager.establish_sse_c_file_metadata(
                    MetadataDirectiveMode.COPY,
                    destination_file_info=None,
                    destination_content_type=None,
                    destination_server_side_encryption=SSE_C_AES,
                    source_server_side_encryption=SSE_C_AES_2,
                    source_file_info=source_file_info,
                    source_content_type=source_content_type,
                )