public ReaderServiceTest()
        {
            this.service = new ReaderService();

            this.createOptions = new ReaderCreateOptions
            {
                Label            = "my_reader",
                Location         = "loc_123",
                RegistrationCode = "a-b-c",
            };

            this.listOptions = new ReaderListOptions
            {
                Location = "loc_123",
            };

            this.updateOptions = new ReaderUpdateOptions
            {
                Label = "my_reader_update",
            };
        }
예제 #2
0
        public ReaderServiceTest(MockHttpClientFixture mockHttpClientFixture)
            : base(mockHttpClientFixture)
        {
            this.service = new ReaderService();

            this.createOptions = new ReaderCreateOptions
            {
                Label            = "my_reader",
                Location         = "loc_123",
                RegistrationCode = "a-b-c",
            };

            this.listOptions = new ReaderListOptions
            {
                Location = "loc_123",
            };

            this.updateOptions = new ReaderUpdateOptions
            {
                Label = "my_reader_update",
            };
        }