com.r3corda.node.internal.testing

Package com.r3corda.node.internal.testing

Types

IRSSimulation class IRSSimulation : Simulation

A simulation in which banks execute interest rate swaps with each other, including the fixing events.

MockNetwork class MockNetwork

A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing. Components that do IO are either swapped out for mocks, or pointed to a Jimfs in memory filesystem.

Simulation abstract class Simulation

Base class for network simulations that are based on the unit test / mock environment.

TestClock class TestClock : MutableClock, SerializeAsToken

A Clock that can have the time advanced for use in testing.

TradeSimulation class TradeSimulation : Simulation

Simulates a never ending series of trades that go pair-wise through the banks (e.g. A and B trade with each other, then B and C trade with each other, then C and A etc).

Extensions for External Classes

kotlin.collections.Iterable