I am writing Unit Tests and can't seem to get my Assert to go through.
//Act
IEnumberable<PrivilegeNode> returnedNode = m_PrivilegeManager.GetPrivileges(priv1.PrivilegeId);
//Assert
Assert.IsTrue(returnedNode.Count() == 2;
Not sure if this is enough to see what is wrong or not. When I run the test it says that returnedNode is null but if I switch out the returnedNode with my storageCollection it works. Thanks in advance
Aucun commentaire:
Enregistrer un commentaire