Class MockRoot

All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, ConfigProducer, ConfigProducerRoot, Serializable

public class MockRoot extends AbstractConfigProducerRoot
Use for testing. Use as parent for the config producer(s) you want to test, to test only a subtree of the producers.
Author:
gjoranv
See Also:
  • Constructor Details

    • MockRoot

      public MockRoot()
    • MockRoot

      public MockRoot(String rootConfigId)
    • MockRoot

      public MockRoot(String rootConfigId, com.yahoo.config.application.api.ApplicationPackage applicationPackage)
    • MockRoot

      public MockRoot(String rootConfigId, com.yahoo.config.application.api.ApplicationPackage applicationPackage, com.yahoo.config.model.api.HostProvisioner provisioner)
    • MockRoot

      public MockRoot(String rootConfigId, DeployState deployState)
  • Method Details