Class MockLogger

  • All Implemented Interfaces:
    Logger

    @Dependent
    public class MockLogger
    extends Object
    implements Logger
    Author:
    pmuir
    • Constructor Detail

      • MockLogger

        public MockLogger()
    • Method Detail

      • initialize

        @Inject
        public void initialize()
        Specified by:
        initialize in interface Logger
      • log

        public void log​(String string)
        Specified by:
        log in interface Logger
      • getMessage

        public static String getMessage()
        Returns:
        the log
      • reset

        public static void reset()
        Parameters:
        log - the log to set
      • isInitializeCalled

        public static boolean isInitializeCalled()
        Returns:
        the initializeCalled