<commit_before>package groovy.mock.example

import groovy.mock.GroovyMock

class SandwichMakerTest extends GroovyTestCase {

    void testStuff()
    
        mockCheeseSlicer = GroovyMock.newInstance()
        sandwichMaker = new SandwichMaker()
        sandwichMaker.cheeseSlicer = mockCheeseSlicer.instance

        // expectation
        mockCheeseSlicer.sliceCheese {arg -> assert arg.startsWith("ch")}

        // execute
        sandwichMaker.makeFattySandwich()

        // verify
        mockCheeseSlicer.verify()

    }

}<commit_msg>sorry, there was a missing brace...<commit_after>package groovy.mock.example

import groovy.mock.GroovyMock

class SandwichMakerTest extends GroovyTestCase {

    void testStuff(){

        mockCheeseSlicer = GroovyMock.newInstance()
        sandwichMaker = new SandwichMaker()
        sandwichMaker.cheeseSlicer = mockCheeseSlicer.instance

        // expectation
        mockCheeseSlicer.sliceCheese {arg -> assert arg.startsWith("ch")}

        // execute
        sandwichMaker.makeFattySandwich()

        // verify
        mockCheeseSlicer.verify()

    }

}
{'fraction_non_alphanumeric': 0.08401084010840108, 'fraction_numerical': 0.0, 'mean_word_length': 2.7306397306397305, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5103189', 'n_tokens_mistral': 354, 'n_tokens_neox': 335, 'n_words': 57}