@Test(expected = IllegalStateException.class)
 public void decorateXaDataSourceWrapper() {
   decorator.decorate(mockXaDataSourceWrapper, DATA_SOURCE_NAME, null, mockMuleContext);
 }
 @Test
 public void decorateXaDataSource() {
   decorator.decorate(mockXaDataSource, DATA_SOURCE_NAME, null, mockMuleContext);
 }
 @Test
 public void appliesToXaDataSource() {
   assertThat(decorator.appliesTo(mockXaDataSource, mockMuleContext), is(true));
 }
 @Test
 public void appliesToXaDataSourceWrapper() {
   assertThat(decorator.appliesTo(mockXaDataSourceWrapper, mockMuleContext), is(false));
 }
 @Test
 public void appliesToDataSource() {
   assertThat(decorator.appliesTo(mockDataSource, mockMuleContext), is(false));
 }