コード例 #1
0
        public WidgetConfigurationAdapterTests()
        {
            // Given
            this.adaptee = new RestApiConfiguration()
            {
                Projects = new List <string>()
                {
                    "test-credit-system"
                },
                Token = "token",
            };

            this.adapter = new WidgetConfigurationAdapter(this.adaptee);
        }
コード例 #2
0
        public WidgetConfigurationAdapterTests()
        {
            // Given
            this.adaptee = new RestApiConfiguration
            {
                Projects = new List <string>()
                {
                    "0123456789"
                },
                Token = "token",
            };

            this.adapter = new WidgetConfigurationAdapter(this.adaptee);
        }
コード例 #3
0
        public WidgetConfigurationAdapterTests()
        {
            // Given
            this.adaptee = new RestApiConfiguration
            {
                User     = "******",
                Projects = new List <string>()
                {
                    "project"
                },
                Token = "token",
            };

            this.adapter = new WidgetConfigurationAdapter(this.adaptee);
        }