Skip to content

Commit

Permalink
Update spock-specs/src/test/groovy/org/spockframework/mock/runtime/By…
Browse files Browse the repository at this point in the history
…teBuddyMockFactoryConcurrentSpec.groovy

Co-authored-by: Björn Kautler <Bjoern@Kautler.net>
  • Loading branch information
AndreasTu and Vampire committed Sep 4, 2023
1 parent c65823a commit bbe3a83
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ class ByteBuddyMockFactoryConcurrentSpec extends Specification {
private void assertValidMockClass(MockFeatures mockFeature, Class<?> mockClass, ClassLoader classLoader) {
assert mockClass.classLoader == classLoader
assert mockFeature.mockType.isAssignableFrom(mockClass)
for (Class<?> anInterface : mockFeature.interfaces) {
assert anInterface.isAssignableFrom(mockClass)
mockFeature.interfaces.each {
assert it.isAssignableFrom(mockClass)
}
}

Expand Down

0 comments on commit bbe3a83

Please sign in to comment.