예제 #1
0
        public async Task TC_4_DeletePet()
        {
            var petId = ApiHelper.GeneratePetId().Result;

            await CreateHelper.CreatePet(petId);

            await CreateHelper.DeletePet(petId);

            var message = await CreateHelper.SearchPet(petId, shouldFind : false);

            Assert.AreEqual(message, "Pet not found");
        }