コード例 #1
0
        public void A080_GetByNameBadName()
        {
            Manufacturer manufacturer = manufacturersRepository.GetByName(badName);

            Assert.IsNull(manufacturer);
        }
コード例 #2
0
        public void A070_GetByName()
        {
            Manufacturer manufacturer = manufacturersRepository.GetByName(Manufacturer2.Name);

            Assert.AreEqual(Manufacturer2.PrimaryKey, manufacturer.PrimaryKey);
        }