mirror of
https://github.com/corda/corda.git
synced 2025-02-22 10:10:59 +00:00
RELEASE - Fix Cherry Pick
This commit is contained in:
parent
310f0daa37
commit
ad9d594fd3
@ -52,7 +52,7 @@ class InteractiveShellTest {
|
||||
private fun check(input: String, expected: String) {
|
||||
var output: DummyFSM? = null
|
||||
InteractiveShell.runFlowFromString({ DummyFSM(it as FlowA).apply { output = this } }, input, FlowA::class.java, om)
|
||||
assertEquals(expected, output!!.flowA.a, input)
|
||||
assertEquals(expected, output!!.logic.a, input)
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -83,5 +83,5 @@ class InteractiveShellTest {
|
||||
@Test
|
||||
fun party() = check("party: \"${MEGA_CORP.name}\"", MEGA_CORP.name.toString())
|
||||
|
||||
class DummyFSM(val logic: FlowA) : FlowStateMachine<Any?> by mock()
|
||||
class DummyFSM(override val logic: FlowA) : FlowStateMachine<Any?> by mock()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user