Package com.codingchili.core.testing
package com.codingchili.core.testing
Contains helpers and mocks that can be used for testing when using the chili-core.
-
InterfaceDescriptionA mock class for the log listener.Used together with the
RequestMock
to get the response body and code from a handler that the mocked request was passed into. -
ClassDescriptionA simple mock class.An empty request for testing.Mock filesystem: turns asynchronous reads into sync reads to avoid dealing with asynchronous setup in test cases.Logger mock to capture console output for testing purposes.Mock class for messages.Object used for testing, nested within StorageObject.Mocked request object.Test class to simulate a stored object.