public void GetAssociateById() { var input = new Associate { Associate_Id = 579946 }; var associate = associatesRepository.GetAssociate(input.Associate_Id); if (associate == null) { Assert.Null(associate); } Assert.NotNull(associate); Assert.AreEqual(associate.Associate_Id, input.Associate_Id); }
public Associate GetAssociate(int associate_Id) { return(associatesRepository.GetAssociate(associate_Id)); }