public void Default_MvcBlade_Returns_Filled_Registration_List() { var blade = new MvcBlade(); var list = new AutoRegistrationList(); blade.AddRegistrations(list); Assert.IsNotEmpty(list.ToList()); Assert.AreEqual(list.Count(), 7); }
public void Default_MvcBlade_Returns_Filled_Registration_List_With_MVC_Registrations() { var blade = new MvcBlade(); var list = new AutoRegistrationList(); blade.AddRegistrations(list); foreach (var registration in list) { Assert.IsTrue(registration.IsValid()); Assert.IsTrue(registration.ServiceType.IsMvcType()); } }