<commit_before>import Quick
import Nimble

import Dobby

class MockSpec: QuickSpec {
    override func spec() {
        var mock: Mock<Int>!

        beforeEach {
            mock = Mock<Int>()
            record(mock, 1)
            record(mock, 2)
            record(mock, 3)
        }

        describe("Recording an interaction") {
            it("should append to the mock's interactions") {
                expect(mock.interactions).to(equal([ 1, 2, 3 ]))
            }
        }

        describe("Verifying interactions") {
            it("should check in-order") {
                expect(verify(mock, [ 1, 3 ])).to(beTrue())
                expect(verify(mock, [ 3, 1 ])).to(beFalse())
            }
        }
    }
}
<commit_msg>Test verification with no expected interaction<commit_after>import Quick
import Nimble

import Dobby

class MockSpec: QuickSpec {
    override func spec() {
        var mock: Mock<Int>!

        beforeEach {
            mock = Mock<Int>()
            record(mock, 1)
            record(mock, 2)
            record(mock, 3)
        }

        describe("Recording an interaction") {
            it("should append to the mock's interactions") {
                expect(mock.interactions).to(equal([ 1, 2, 3 ]))
            }
        }

        describe("Verifying interactions") {
            it("should check in-order") {
                expect(verify(mock, [])).to(beTrue())
                expect(verify(mock, [ 1, 3 ])).to(beTrue())
                expect(verify(mock, [ 3, 1 ])).to(beFalse())
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.12779552715654952, 'fraction_numerical': 0.012779552715654952, 'mean_word_length': 1.6231155778894473, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '206773', 'n_tokens_mistral': 471, 'n_tokens_neox': 433, 'n_words': 107}