public void CreateSubtypeAppealTest() { var subtypeAppeal = new SubtypeAppeal(); subtypeAppeal.Key = 0001; subtypeAppeal.Name = "Дорожные знаки"; subtypeAppeal.Name = "Вопросы о нецелесообразности установленных знаков"; subtypeAppeal.Type = new TypeAppeal(); Assert.Pass(); }
public void AddSubtypeAppealTest() { var subtype = new SubtypeAppeal() { Name = "TestSubtype", Note = "Subtype create only test" }; var repos = new SubtypeAppealRepository(new AppDbContext()); repos.Add(subtype); repos.Delete(subtype); Assert.Pass(); }