public void shouldHaveFatHistory()
{
Browser.GoTo(Url + "/?graphlines=" + NutrientEntity.FatInG);
var userIngredients = new UserIngredientRepository().GetUserIngredientsByUser(UserId, Now, Now.AddDays(1));
decimal sum = userIngredients.Sum(u => u.GetActualCalorieCount(x => x.GetNutrient(NutrientEntity.FatInG).Value));
var chartSumOfFatValue = ">" + String.Format("{0:0.00000}", sum) + "</VALUE>";
chartSumOfFatValue = chartSumOfFatValue.Replace(",", ".");
Assert.That(Browser.Html, Contains.Substring(chartSumOfFatValue));
}