コード例 #1
0
        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);
        }
コード例 #2
0
 public Associate GetAssociate(int associate_Id)
 {
     return(associatesRepository.GetAssociate(associate_Id));
 }