public void ContainsWhere_ShouldReturnFalse_ForNegativeMatch()
        {
            // Arrange.
            var dataStore  = SimulatedBarDataStore.NewDefaultInstance();
            var identifier = Guid.NewGuid();

            using (var target = new SimulatedBarRepository(dataStore))
            {
                // Assert.
                target.ContainsWhere(targetEntity => targetEntity.Identifier == identifier).Should().BeFalse();
            }
        }
        public void ContainsWhere_ShouldReturnTrue_ForPositiveMatch()
        {
            // Arrange.
            var dataStore  = SimulatedBarDataStore.NewDefaultInstance();
            var identifier = Guid.NewGuid();
            var entity     = new SimulatedBarEntity(identifier, identifier.GetHashCode());

            using (var target = new SimulatedBarRepository(dataStore))
            {
                // Arrange.
                target.Add(entity);

                // Assert.
                target.ContainsWhere(targetEntity => targetEntity.Identifier == identifier).Should().BeTrue();
            }
        }