``` id("org.jetbrains.kotlin.plugin.jpa").vers...
# announcements
x
Copy code
id("org.jetbrains.kotlin.plugin.jpa").version("1.2.71")
Copy code
@Test
    fun new() {
        assertThat( Emr::class.primaryConstructor ).extracting { it?.call() } .isInstanceOf( Emr::class.java )
    }
Copy code
java.lang.IllegalArgumentException: Callable expects 6 arguments, but 0 were provided.

	at kotlin.reflect.jvm.internal.FunctionCaller.checkArguments(FunctionCaller.kt:42)
	at kotlin.reflect.jvm.internal.FunctionCaller$Constructor.call(FunctionCaller.kt:64)
	at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:106)
	at com.potrero.ph.emr.entity.EmrTest$new$1.apply(EmrTest.kt:13)
	at com.potrero.ph.emr.entity.EmrTest$new$1.apply(EmrTest.kt:9)
	at org.assertj.core.api.AbstractObjectAssert.extracting(AbstractObjectAssert.java:610)
	at com.potrero.ph.emr.entity.EmrTest.new(EmrTest.kt:13)