@Test
public void updatePost() throws Exception {

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