Exemple #1
0
        public void GetGrantTypes()
        {
            IClientRepository clientRepository = new ClientDapperRepository(_configuration);

            //Try get some existing grant
            var randomClientGrantType = ClientMock.GenerateRandomClientGrantType();

            var grantTypes = clientRepository.GetGrantTypes(randomClientGrantType.GrantType);

            grantTypes[0].Should().Be(randomClientGrantType.GrantType);
        }