14 respuestas
Maybe it's just me but I don't see how the query that's been written in all these system.assertEqulas statements confirm that all the 50 accounts with billingstate = CA in fact have contacts that they are associated with???My understanding is that count() is only counting the accounts what fit the WHERE condition but there's nothing about the number of contacts with one related to one of these accounts?