<commit_before><?php

use PHPUnit\Framework\TestCase;
use SimpleSoftwareIO\QrCode\DataTypes\SMS;

class SMSTest extends TestCase
{
    public function setUp(): void
    {
        $this->sms = new SMS();
    }

    public function test_it_generates_a_proper_format_with_a_phone_number()
    {
        $this->sms->create(['555-555-5555']);

        $properFormat = 'sms:555-555-5555';

        $this->assertEquals($properFormat, strval($this->sms));
    }

    public function test_it_generate_a_proper_format_with_a_message()
    {
        $this->sms->create([null, 'foo']);

        $properFormat = 'sms::foo';

        $this->assertEquals($properFormat, strval($this->sms));
    }

    public function test_it_generates_a_proper_format_with_a_phone_number_and_message()
    {
        $this->sms->create(['555-555-5555', 'foo']);

        $properFormat = 'sms:555-555-5555:foo';

        $this->assertEquals($properFormat, strval($this->sms));
    }
}<commit_msg>Update SMSTest.php<commit_after><?php

use PHPUnit\Framework\TestCase;
use SimpleSoftwareIO\QrCode\DataTypes\SMS;

class SMSTest extends TestCase
{
    public function setUp(): void
    {
        $this->sms = new SMS();
    }

    public function test_it_generates_a_proper_format_with_a_phone_number()
    {
        $this->sms->create(['555-555-5555']);

        $properFormat = 'sms:555-555-5555';

        $this->assertEquals($properFormat, strval($this->sms));
    }

    public function test_it_generate_a_proper_format_with_a_message()
    {
        $this->sms->create([null, 'foo']);

        $properFormat = 'sms:&body=foo';

        $this->assertEquals($properFormat, strval($this->sms));
    }

    public function test_it_generates_a_proper_format_with_a_phone_number_and_message()
    {
        $this->sms->create(['555-555-5555', 'foo']);

        $properFormat = 'sms:555-555-5555:foo';

        $this->assertEquals($properFormat, strval($this->sms));
    }
}
{'fraction_non_alphanumeric': 0.15082644628099173, 'fraction_numerical': 0.04132231404958678, 'mean_word_length': 3.3724604966139955, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2856568', 'n_tokens_mistral': 739, 'n_tokens_neox': 642, 'n_words': 85}