@Test
public void retrievePost() throws Exception {

    Post post = mock(Post.class);
    String id = "id";
    when(rxTapglue.retrievePost(id)).thenReturn(Observable.just(post));
    assertThat(tapglue.retrievePost(id), equalTo(post));
}