private BranchSupportModel GetBranch(UserSelectedContext userContext) { BranchSupportModel branch = _divisionLogic.ReadBranchSupport() .Where(theBranch => theBranch.BranchId == userContext.BranchId) .FirstOrDefault(); return(branch); }
public void InitializedTest_HasDefaultValue() { // arrange var test = new BranchSupportModel(); // act // assert test.BranchName .Should() .BeNullOrEmpty(); }