public class MockServicesKt
@NotNull public static IdentityService makeTestIdentityService(@NotNull net.corda.core.identity.PartyAndCertificate... identities)
Returns a simple interface IdentityService containing the supplied identities.
interface IdentityService,
identities@NotNull public static <T extends SerializeAsToken> T createMockCordaService(@NotNull MockServices serviceHub, @NotNull kotlin.jvm.functions.Function1<? super net.corda.core.node.AppServiceHub,? extends T> serviceConstructor)
Function which can be used to create a mock annotationclass CordaService for use within testing, such as an Oracle.
annotationclass CordaService