public async Task Can_validate_an_group()
        {
            mediator.SendAsync(Arg.Any <ValidateActiveDirectoryGroupCommand>())
            .Returns(Task.FromResult((ICommandResult) new SuccessResult(true)));

            var result = await validationController.LdapGroup(groupName : "dummytext") as ViewResult;

            dynamic data = result.Model;

            Assert.IsTrue(data);
        }