| Conditions | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | package com.base.Services; |
||
| 18 | @Test |
||
| 19 | public void testTeamCreate() { |
||
| 20 | try { |
||
| 21 | Thread thread = this.base.threadService().addChannelThread(CreateChannelThreadResponse.VALID_TEAM_SLUG, |
||
| 22 | CreateChannelThreadResponse.VALID_CHANNEL_SLUG, |
||
| 23 | CreateChannelThreadResponse.VALID_SUBJECT, |
||
| 24 | CreateChannelThreadResponse.VALID_DESCRIPTION); |
||
| 25 | Assert.assertEquals(thread.getSubject(), CreateChannelThreadResponse.VALID_SUBJECT); |
||
| 26 | Assert.assertEquals(thread.getDescription(), CreateChannelThreadResponse.VALID_DESCRIPTION); |
||
| 27 | Assert.assertEquals(thread.getId(), CreateChannelThreadResponse.VALID_ID); |
||
| 28 | } catch (BaseHttpException | ChannelNotFound e) { |
||
| 29 | Assert.fail(e.getMessage()); |
||
| 30 | } |
||
| 34 |