mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 00:09:02 +00:00
Polishing
This commit is contained in:
+2
-2
@@ -25,7 +25,7 @@ import org.junit.Test
|
||||
* @author Sebastien Deleuze
|
||||
*/
|
||||
@Suppress("unused", "UNUSED_PARAMETER")
|
||||
class BeanUtilsKotlinTests {
|
||||
class KotlinBeanUtilsTests {
|
||||
|
||||
@Test
|
||||
fun `Instantiate immutable class`() {
|
||||
@@ -52,7 +52,7 @@ class BeanUtilsKotlinTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Instantiate immutable class with optional parameter specified with null value`() {
|
||||
fun `Instantiate immutable class with optional parameter specified with null value`() {
|
||||
val constructor = BeanUtils.findPrimaryConstructor(Bar::class.java)!!
|
||||
val bar = BeanUtils.instantiateClass(constructor, "a", null)
|
||||
assertEquals("a", bar.param1)
|
||||
Reference in New Issue
Block a user