public void Should_throw_when_assemblies_is_null()
 {
     var expression = new RootConfiguration();
     Assert.Throws<ArgumentNullException>(() => expression.ForAllControllersInheriting<AbstractBaseController>(x => x.InheritedAction(), null));
 }
 public void Should_throw_when_action_expresion_is_null()
 {
     var expression = new RootConfiguration();
     Expression<Func<AbstractBaseController, object>> actionExpression = null;
     Assert.Throws<ArgumentNullException>(() => expression.ForAllControllersInheriting(actionExpression));
 }