public void ToUserGroupVm_Should_Return_UserGroupVm() { Group result = new Group("1", "admin", null); UserGroupVm actual = UserModelHelper.ResultToUserGroupVm(result); Assert.AreEqual("admin", actual.Name); }
public void ToUserGroupVm_Should_Throw_Exception_When_Result_Is_Null() { Group result = null; UserGroupVm actual = UserModelHelper.ResultToUserGroupVm(result); }