public void IsSatisfiedBy_ExistsPreview_True()
        {
            Stubs.Initialize();
            Stubs.PreviewRepository.Add(new Preview());
            Stubs.UnitOfWork.Commit();

            var target = new PreviewExistsSpecification();

            Assert.IsTrue(target.IsSatisfiedBy(new Preview(1)));
        }
        public void IsSatisfiedBy_NonExistsPreview_False()
        {
            var target = new PreviewExistsSpecification();

            Assert.IsFalse(target.IsSatisfiedBy(new Preview()));
        }