- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for thenThrow (0.08 sec)
-
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ProjectExtensionsTest.kt
whenever(project.extensions) .thenReturn(convention) whenever(project.convention) .thenReturn(convention) whenever(convention.getByType(eq(conventionType))) .thenThrow(UnknownDomainObjectException::class.java) try { project.the<CustomConvention>() fail("UnknownDomainObjectException not thrown") } catch (ex: UnknownDomainObjectException) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.4K bytes - Viewed (0)