public void DeleteSizeWorks() { var positionList = new PositionListDataHolder(new PositionRepositoryStub()); positionList.LoadPositionList(); var size = new DTOSize(2, "size2", new Money(1), new DTOPosition(1, "1", "1")); positionList.DeleteSize(size); var sizeList = positionList.GetSizeList(size.Position); Assert.AreEqual(1, sizeList.Count); }