test_class.declarator: apiAdapter = new YammerAdapter()
test_class.modifier: private
test_class.original_string: private YammerAdapter apiAdapter = new YammerAdapter();
test_class.type: YammerAdapter
test_class.var_name: apiAdapter
test_class.declarator: yammer = mock(YammerTemplate.class)
test_class.modifier: private
test_class.original_string: private YammerTemplate yammer = mock(YammerTemplate.class);
test_class.type: YammerTemplate
test_class.var_name: yammer
test_class.file: spring-social-yammer/src/test/java/org/springframework/social/yammer/api/connect/YammerAdapterTest.java
test_class.identifier: YammerAdapterTest
test_case.body: @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);
      }
test_case.class_method_signature: YammerAdapterTest.shouldUpdateStatus()
test_case.full_signature: @Test public void shouldUpdateStatus()
test_case.identifier: shouldUpdateStatus
test_case.invocations: mock thenReturn when messageOperations updateStatus postUpdate verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldUpdateStatus()
focal_class.declarator: EMAIL_PRIMARY_TYPE = "primary"
focal_class.modifier: public static final
focal_class.original_string: public static final String EMAIL_PRIMARY_TYPE = "primary";
focal_class.type: String
focal_class.var_name: EMAIL_PRIMARY_TYPE
focal_class.file: spring-social-yammer/src/main/java/org/springframework/social/yammer/api/connect/YammerAdapter.java
focal_class.identifier: YammerAdapter
focal_class.interfaces: implements ApiAdapter<Yammer>
focal_class.class_method_signature: YammerAdapter.test(Yammer yammer)
focal_class.full_signature: public boolean test(Yammer yammer)
focal_class.identifier: test
focal_class.modifiers: public
focal_class.parameters: (Yammer yammer)
focal_class.return: boolean
focal_class.signature: boolean test(Yammer yammer)
focal_class.class_method_signature: YammerAdapter.setConnectionValues(Yammer yammer, ConnectionValues values)
focal_class.full_signature: public void setConnectionValues(Yammer yammer, ConnectionValues values)
focal_class.identifier: setConnectionValues
focal_class.modifiers: public
focal_class.parameters: (Yammer yammer, ConnectionValues values)
focal_class.return: void
focal_class.signature: void setConnectionValues(Yammer yammer, ConnectionValues values)
focal_class.class_method_signature: YammerAdapter.fetchUserProfile(Yammer yammer)
focal_class.full_signature: public UserProfile fetchUserProfile(Yammer yammer)
focal_class.identifier: fetchUserProfile
focal_class.modifiers: public
focal_class.parameters: (Yammer yammer)
focal_class.return: UserProfile
focal_class.signature: UserProfile fetchUserProfile(Yammer yammer)
focal_class.class_method_signature: YammerAdapter.getEMail(YammerProfile profile)
focal_class.full_signature: private String getEMail(YammerProfile profile)
focal_class.identifier: getEMail
focal_class.modifiers: private
focal_class.parameters: (YammerProfile profile)
focal_class.return: String
focal_class.signature: String getEMail(YammerProfile profile)
focal_class.class_method_signature: YammerAdapter.updateStatus(Yammer yammer, String message)
focal_class.full_signature: public void updateStatus(Yammer yammer, String message)
focal_class.identifier: updateStatus
focal_class.modifiers: public
focal_class.parameters: (Yammer yammer, String message)
focal_class.return: void
focal_class.signature: void updateStatus(Yammer yammer, String message)
focal_method.body: public void updateStatus(Yammer yammer, String message) {
          yammer.messageOperations().postUpdate(message);
      }
focal_method.class_method_signature: YammerAdapter.updateStatus(Yammer yammer, String message)
focal_method.full_signature: public void updateStatus(Yammer yammer, String message)
focal_method.identifier: updateStatus
focal_method.invocations: postUpdate messageOperations
focal_method.modifiers: public
focal_method.parameters: (Yammer yammer, String message)
focal_method.return: void
focal_method.signature: void updateStatus(Yammer yammer, String message)