Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-513

Add mock data store for unit tests

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: Linux
      Platform: PC

    Description

      A mock data store that can be easily instantiated from unit tests would be very helpful. So for data store mocks, it would be nice to be able to do something like:

      dataStoreProvider = new MockDataStoreProvider();
      dataStoreProvider.writeConfigurationJson(iid, JSON_CONSTANT);

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              readams Rob Adams
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: