<commit_before>﻿using Shouldly.Tests.TestHelpers;
using System;

namespace Shouldly.Tests.ShouldContain
{
    public class PredicateObjectScenario : ShouldlyShouldTestScenario
    {
        protected override void ShouldThrowAWobbly()
        {
            var a = new Object();
            var b = new Object();
            var c = new Object();
            new[] { a, b, c }.ShouldContain(o => o.GetType().FullName.Equals(""));
        }

        protected override string ChuckedAWobblyErrorMessage
        {
            get { return @"
    new[] { a, b, c }
        should contain
    o.GetType().FullName.Equals("""")
        but does not"; }
            
        }

        protected override void ShouldPass()
        {
            var a = new Object();
            var b = new Object();
            var c = new Object();
            new[] { a, b, c }.ShouldContain(o => o.GetType().FullName.Equals("System.Object"));

        }
    }
}<commit_msg>Fixed test<commit_after>﻿using Shouldly.Tests.TestHelpers;
using System;

namespace Shouldly.Tests.ShouldContain
{
    public class PredicateObjectScenario : ShouldlyShouldTestScenario
    {
        protected override void ShouldThrowAWobbly()
        {
            var a = new object();
            var b = new object();
            var c = new object();
            new[] { a, b, c }.ShouldContain(o => o.GetType().FullName.Equals(""));
        }

        protected override string ChuckedAWobblyErrorMessage
        {
            get { return @"
    new[] { a, b, c }
        should contain an element satisfying the condition
    o.GetType().FullName.Equals("""")
        but does not"; }
            
        }

        protected override void ShouldPass()
        {
            var a = new object();
            var b = new object();
            var c = new object();
            new[] { a, b, c }.ShouldContain(o => o.GetType().FullName.Equals("System.Object"));

        }
    }
}
{'fraction_non_alphanumeric': 0.11837364899639732, 'fraction_numerical': 0.0, 'mean_word_length': 1.7971223021582734, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6125310', 'n_tokens_mistral': 537, 'n_tokens_neox': 529, 'n_words': 146}