Use containsOnly assertion