Skip to content

Commit 7263cbb

Browse files
committed
Mention Byte Buddy in the documentation additionally to cglib and increase versions
1 parent 98621ab commit 7263cbb

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

docs/interaction_based_testing.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -538,11 +538,10 @@ is only meant for documentation purposes and doesn't carry any semantics.
538538
=== Mocking Classes
539539

540540
Besides interfaces, Spock also supports mocking of classes. Mocking classes works
541-
just like mocking interfaces; the only additional requirement is to put `cglib-nodep-2.2` or higher
542-
and `objenesis-1.2` or higher on the class path. If either of these libraries is missing from
543-
the class path, Spock will gently let you know.
544-
545-
NOTE: Java 8 is only supported from CGLIB 3.2.0 onwards.
541+
just like mocking interfaces; the only additional requirement is to put `byte-buddy` 1.9+ or
542+
`cglib-nodep` 3.2.0+ on the class path. When using normal ``Mock``s or ``Stub``s or ``Spy``s that are
543+
configured accordingly, it is also necessary to put `objenesis` 3.0+ on the class path.
544+
If either of these libraries is missing from the class path, Spock will gently let you know.
546545

547546
== Stubbing
548547

0 commit comments

Comments
 (0)