DoFn<String, ETEvent>.ProcessContext mockContext =
mock(DoFn.ProcessContext.class, withSettings().stubOnly().outerInstance(DoFn.class));org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: class com.google.cloud.dataflow.sdk.transforms.DoFn$ProcessContext.
Mockito can only non-private & non-final classes.If you're not sure why you're getting this error, please report to the mailing list.
Java : 1.8JVM vendor name : Oracle CorporationJVM vendor version : 25.91-b14JVM name : Java HotSpot(TM) 64-Bit Server VMJVM version : 1.8.0_91-b14JVM info : mixed modeOS name : Mac OS XOS version : 10.11.6
Underlying exception : java.lang.IllegalStateException: Unknown type variable: OutputT<dependency>
<groupId>com.google.cloud.dataflow</groupId>
<artifactId>google-cloud-dataflow-java-sdk-all</artifactId>
<version>1.8.0</version>
</dependency> --
You received this message because you are subscribed to the Google Groups "mockito" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockito+unsubscribe@googlegroups.com.
To post to this group, send email to moc...@googlegroups.com.
Visit this group at https://groups.google.com/group/mockito.
To view this discussion on the web visit https://groups.google.com/d/msgid/mockito/a356bfed-b0bd-4640-9373-33c5d5b71a58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/mockito/CAPffK0FAiGGfEQCn4AGex3uyLsEmxKaeUcNG75HRSA3OpYCizA%40mail.gmail.com.