public async Task Office_GetAll_Should_Return_All_Offices() { var result = (await _officeController.GetAll()) as List <OfficeViewModel>; Assert.IsNotNull(result); Assert.AreEqual(result.Count, 4); }
public void Office_GetAll_Should_Return_All_Offices() { var result = _officeController.GetAll() as List <OfficeViewModel>; Assert.AreEqual(result.Count, 4); }