public void GetAllRoles_ReturnsRoleList() { //Arrange //Act var actual = _mpRole.GetAllRoles(); //Assert Assert.AreEqual(4, actual.Count()); }
public void GetAllRoles_AgainstMockRepository_ReturnsAllRoles() { //Arrange var expected = 2; //Act var actual = _mProv.GetAllRoles(); //Assert Assert.AreEqual(expected, actual.Count()); }