public void GetSheetParts(string sheetName, int scale) { var sheetService = new SheetService(_sheetRepository); var result = sheetService.GetSheetParts(sheetName); var lastScale = result.Keys.ToList().Last(); Assert.Equal(scale, lastScale); }