예제 #1
0
        public void ApiResourceAutomapperConfigurationIsValid()
        {
            var model        = new ApiResource();
            var mappedEntity = model.ToDocument();
            var mappedModel  = mappedEntity.ToModel();

            Assert.NotNull(mappedModel);
            Assert.NotNull(mappedEntity);
            ApiResourceMappers.Mapper.ConfigurationProvider.AssertConfigurationIsValid();
        }