public async Task GetPermissionsByLastName_lastName_return() { var lastName = "Рач"; var strings = await _userHandler.GetAllPermissionByUserLastName(lastName); Assert.IsTrue(strings.Count() > 0); }
public async Task GetPermissionForSomeUser_user_returnStringWithKey() { var res = await _userHandler.GetAllPermissionByUserLastName("Рач"); Assert.IsTrue(res.Any()); }