public void Should_Log_New_Error() { var logid = LogError(_errorViewModel); _errorViewModel.ShouldSatisfyAllConditions( () => _errorViewModel.Items.Count.ShouldBe(1), () => _errorViewModel.FilteredItems.Count().ShouldBe(0), () => _errorViewModel.ErrorItemCount.ShouldBe(1), () => _errorViewModel.WarningItemCount.ShouldBe(0), () => _errorViewModel.MessageItemCount.ShouldBe(0) ); logid.ShouldNotBe(Guid.Empty); }