FakeNodeRepository
A test double for NodeRepository that provides an in-memory implementation.
Tracks node operations and exposes mutable state for assertions in tests.
Example:
val nodeRepository = FakeNodeRepository()
nodeRepository.setNodes(TestDataFactory.createTestNodes(3))
assertEquals(3, nodeRepository.nodeDBbyNum.value.size)Content copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard