Polishing
This commit is contained in:
parent
aabfc5f0a1
commit
6266370a7a
|
@ -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)
|
Loading…
Reference in New Issue