Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-254

Make it easier to get Mocked Components from AbstractMockingComponentTestCase

    XMLWordPrintable

Details

    • N/A
    • N/A

    Description

      Usage example (see call to getMockedComponent()):

      @MockingRequirement(DefaultDiffManager.class)
      public class DefaultDiffManagerTest extends AbstractMockingComponentTestCase<DiffManager>
      {
          @Test
          public void testDiffStringList() throws Exception
          {
              DiffResult<String> result = getMockedComponent().diff(null, null, null);
      ...
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: