public void DeleteTest() { var deletedTestValue = new TestValue { TestValueId = 1 }; var inkoRetentionServiceHelper = MockHelperTestServiceHelper.GetInkoRetentionServiceHelper( null ); var testBll = MockHelperBll.GetBabyDiaperBllForDelete( deletedTestValue ); var target = new InkoRetentionService(new NLogLoggerFactory()) { InkoRetentionServiceHelper = inkoRetentionServiceHelper, TestBll = testBll }; var actual = target.Delete(1); Assert.Equal(1, actual.TestValueId); }