public void FindByClientTheory(string initialDate, string finalDate, bool match) { // arrange var file = new File { LastUpdateTime = DateTime.Parse(DateUpdated) }; var sut = new FindFileByLastUpdateRange(DateTime.Parse(initialDate), DateTime.Parse(finalDate)); // assert Assert.Equal(match, sut.IsSatisfiedBy().Compile().Invoke(file)); }