public void read_topic() { //setup var handler = CreateHandler(); var request = new ReadEventTopicRequest(); request.Id = _topicId; //act var response = HandleRequest<ReadEventTopicResponse>(handler, request); //assert Assert.IsNotNull(response.EventTopic); Assert.AreEqual(_topicId, response.EventTopic.Id); Assert.AreEqual("Pregnancy", response.EventTopic.Name); }
private ReadEventTopicResponse QueryData() { var request = new ReadEventTopicRequest() { Id = _eventTopicId }; return ProcessRequest<ReadEventTopicResponse>(request); }