### Question:
YammerAdapter implements ApiAdapter<Yammer> { public void updateStatus(Yammer yammer, String message) { yammer.messageOperations().postUpdate(message); }  boolean test(Yammer yammer); void setConnectionValues(Yammer yammer, ConnectionValues values); UserProfile fetchUserProfile(Yammer yammer); void updateStatus(Yammer yammer, String message); static final String EMAIL_PRIMARY_TYPE; }### Answer:
@Test public void shouldUpdateStatus() { MessageOperations messageOperations = mock(MessageOperations.class); when(yammer.messageOperations()).thenReturn(messageOperations); final String statusUpdate = "Hello yammer"; apiAdapter.updateStatus(yammer, statusUpdate); verify(messageOperations).postUpdate(statusUpdate); }