I would like to write an unit test to check HashSet in c# Mstest to cover ICollection of my class, like this:
public ICollection<ObjectClass> Object { get; private set; } = new HashSet<ObjectClass>();
Does anybody know how to Assert this section of the code?

Aucun commentaire:
Enregistrer un commentaire