public void GetConfigurationDetails() { var jsonResult = rolesController.GetConfigurationDetails(userId) as JsonResult; var configurationModel = (ConfigurationModel)jsonResult.Data; Assert.IsNotNull(configurationModel.Users); Assert.IsNotNull(configurationModel.Roles); Assert.IsNotNull(configurationModel.RoleId); Assert.IsNotNull(configurationModel.AssignedProjects); Assert.IsNotNull(configurationModel.AvailableProjects); }