<commit_before><?php

class ArtisanAssertsTest extends TestCase
{
    /** @test */
    public function it_has_see_artisan_output_assertion()
    {
        $this->artisan('generic');

        $this->seeArtisanOutput('Hello, World!');
    }

    /** @test */
    public function which_accepts_file_path_instead_of_string_output()
    {
        $this->artisan('generic');

        $this->seeArtisanOutput(__DIR__ . '/ArtisanAssertsTest/correct.output.txt');
    }
<commit_msg>ITT: Artisan asserts tests added.<commit_after><?php

class ArtisanAssertsTest extends TestCase
{
    /** @test */
    public function it_has_will_see_confirmation_assertion()
    {
        $this->willSeeConfirmation('Are you sure?', ConfirmationCommand::class);
    }

    /** @test */
    public function which_also_works_with_confirmable_trait()
    {
        $this->willSeeConfirmation('Do you really wish to run this command?', ConfirmableTraitCommand::class);
    }

    /** @test */
    public function it_has_will_not_see_confirmation_assertion()
    {
        $this->willNotSeeConfirmation('Are you sure?', GenericCommand::class);
    }

    /** @test */
    public function it_has_see_artisan_output_assertion()
    {
        $this->artisan('generic');

        $this->seeArtisanOutput('Hello, World!');
    }

    /** @test */
    public function which_accepts_file_path_instead_of_string_output()
    {
        $this->artisan('generic');

        $this->seeArtisanOutput(__DIR__ . '/ArtisanAssertsTest/correct.output.txt');
    }

{'fraction_non_alphanumeric': 0.1306930693069307, 'fraction_numerical': 0.0, 'mean_word_length': 3.319088319088319, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '1993155', 'n_tokens_mistral': 477, 'n_tokens_neox': 466, 'n_words': 71}