Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DomainObject (0.26 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensionsTest.kt

                )
            }
        }
    
        @Test
        fun `val domainObject by registering { }`() {
    
            val domainObjectProvider = mockDomainObjectProviderFor(DomainObject())
            val container = mock<NamedDomainObjectContainer<DomainObject>> {
                on { register(eq("domainObject"), any<Action<DomainObject>>()) } doReturn domainObjectProvider
            }
    
            container {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 19.1K bytes
    - Viewed (0)
Back to top