public void TypiconEntityService_ClearModifiedYears() { EFUnitOfWork _unitOfWork = new EFUnitOfWork(); //BookStorage.Instance = BookStorageFactory.Create(); TypiconEntityService service = new TypiconEntityService(_unitOfWork); GetTypiconEntityResponse response = service.GetTypiconEntity(1); service.ClearModifiedYears(1); Assert.AreEqual(response.TypiconEntity.ModifiedYears.Count, 0); }