def test_check_pattern_in_file_successfully(self):
        with tempfile.NamedTemporaryFile(mode="w") as temp_file:
            temp_file.write("123")
            temp_file.seek(0)
            self.assertTrue(genio.is_pattern_in_file(temp_file.name, r"\d{3}"))