public void CreateRole_ReturnsViewResult()
        {
            var mockRoleManager = IdentityHelpers.MockRoleManager <IdentityRole>();
            var mockUserManager = IdentityHelpers.MockUserManager <IdentityUser>();
            var controller      = new RolesController(mockRoleManager.Object, mockUserManager.Object);

            var result = controller.Create();

            var viewResult = Assert.IsType <ViewResult>(result);

            Assert.IsAssignableFrom <CreateRoleViewModel>(viewResult.ViewData.Model);
        }