assertEquals("Number of instances", instances, profile.findInstancesByProcess().size());
assertEquals("Number of activity recoveries", activityRecoveries, profile.findActivityRecoveriesByInstance().size());
assertEquals("Number of correlation sets", correlationSets, profile.findCorrelationSetsByInstance().size());
assertEquals("Number of faults", faults, profile.findFaultsByInstance().size());
assertEquals("Number of message exchanges", exchanges, profile.findMessageExchangesByInstance().size());
assertEquals("Number of message routes", routes, profile.findMessageRoutesByInstance().size());
assertEquals("Number of messages", messsages, profile.findMessagesByInstance().size());
assertEquals("Number of partner links", partnerLinks, profile.findPartnerLinksByInstance().size());
assertEquals("Number of scopes", scopes, profile.findScopesByInstance().size());
assertEquals("Number of variables", variables, profile.findXmlDataByInstance().size());
assertEquals("Number of events", events, profile.countEventsByInstance());