Class EmptyMocks

  • All Implemented Interfaces:
    Mocks

    public class EmptyMocks
    extends java.lang.Object
    implements Mocks
    • Constructor Detail

      • EmptyMocks

        public EmptyMocks()
    • Method Detail

      • newResourceAsync

        public java.util.concurrent.CompletableFuture<Mocks.ResourceResult> newResourceAsync​(Mocks.ResourceArgs args)
        Description copied from interface: Mocks
        Invoked when a new resource is created by the program.

        Specified by:
        newResourceAsync in interface Mocks
        Parameters:
        args - arguments containing resource information
        Returns:
        A resource identifier and resource state. State can be either a POJO or a dictionary bag. The returned ID may be null for component resources.