diff --git a/src/test/kotlin/com/mapk/kmapper/ConversionTest.kt b/src/test/kotlin/com/mapk/kmapper/ConversionTest.kt index 817bb1a..bd717be 100644 --- a/src/test/kotlin/com/mapk/kmapper/ConversionTest.kt +++ b/src/test/kotlin/com/mapk/kmapper/ConversionTest.kt @@ -121,7 +121,7 @@ class ConversionTest { @DisplayName("Numberソース") fun fromNumber(numbers: NumberSource) { numbers.values.forEach { - val actual = BoundKMapper(::Dst, NumberSrc::class).map(NumberSrc(it)) + val actual = BoundKMapper().map(NumberSrc(it)) assertEquals(0, BigDecimal.valueOf(it.toDouble()).compareTo(actual.number)) } } @@ -130,7 +130,7 @@ class ConversionTest { @ValueSource(strings = ["100", "2.0", "-500"]) @DisplayName("Stringソース") fun fromString(str: String) { - val actual = BoundKMapper(::Dst, StringSrc::class).map(StringSrc(str)) + val actual = BoundKMapper().map(StringSrc(str)) assertEquals(0, BigDecimal(str).compareTo(actual.number)) } }